mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 10:26:37 +00:00
[Feature] Add adjustability for AERampage Range. (#3548)
* [Feature] Add adjustability for AERampage Range. This functionality is needed for fights like Ture to be accurate, where their ramp range was 101% of their melee safe range. Example in lua of utilizing this scripting ``` e.self:SetSpecialAbilityParam(SpecialAbility.area_rampage,8,101; ``` * Updates to address comments
This commit is contained in:
+1
-1
@@ -249,7 +249,7 @@ public:
|
||||
inline int GetMitigationAC() { return mitigation_ac; }
|
||||
void MeleeMitigation(Mob *attacker, DamageHitInfo &hit, ExtraAttackOptions *opts = nullptr);
|
||||
double RollD20(int offense, int mitigation); // CALL THIS FROM THE DEFENDER
|
||||
bool CombatRange(Mob* other, float fixed_size_mod = 1.0, bool aeRampage = false);
|
||||
bool CombatRange(Mob* other, float fixed_size_mod = 1.0, bool aeRampage = false, ExtraAttackOptions *opts = nullptr);
|
||||
virtual inline bool IsBerserk() { return false; } // only clients
|
||||
void RogueEvade(Mob *other);
|
||||
void CommonOutgoingHitSuccess(Mob *defender, DamageHitInfo &hit, ExtraAttackOptions *opts = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user