Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
This commit is contained in:
@@ -602,7 +602,7 @@ namespace Game.AI
|
||||
if (rangedAttackSpell == 0)
|
||||
return;
|
||||
|
||||
me.CastSpell(victim, rangedAttackSpell, TriggerCastFlags.CastDirectly);
|
||||
me.CastSpell(victim, rangedAttackSpell, new CastSpellExtraArgs(TriggerCastFlags.CastDirectly));
|
||||
me.ResetAttackTimer(WeaponAttackType.RangedAttack);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user