mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-15 04:38:33 +00:00
Fix Spell Casting Subtlety for offensive spells
This commit is contained in:
@@ -1117,6 +1117,9 @@ int32 Mob::CheckAggroAmount(uint16 spell_id, Mob *target, bool isproc)
|
|||||||
int HateMod = RuleI(Aggro, SpellAggroMod);
|
int HateMod = RuleI(Aggro, SpellAggroMod);
|
||||||
HateMod += GetFocusEffect(focusSpellHateMod, spell_id);
|
HateMod += GetFocusEffect(focusSpellHateMod, spell_id);
|
||||||
|
|
||||||
|
//Live AA - Spell casting subtlety
|
||||||
|
HateMod += aabonuses.hatemod + spellbonuses.hatemod + itembonuses.hatemod;
|
||||||
|
|
||||||
AggroAmount = (AggroAmount * HateMod) / 100;
|
AggroAmount = (AggroAmount * HateMod) / 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user