mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 06:29:50 -04:00
Core/Scripts: Integrate new ActionResultSetter with movement generators and spells
(cherry picked from commit b265c49977)
This commit is contained in:
@@ -2965,6 +2965,8 @@ SpellCastResult WorldObject::CastSpell(CastSpellTargetArg const& targets, uint32
|
||||
}
|
||||
|
||||
spell->m_customArg = args.CustomArg;
|
||||
spell->m_scriptResult = args.ScriptResult;
|
||||
spell->m_scriptWaitsForSpellHit = args.ScriptWaitsForSpellHit;
|
||||
|
||||
return spell->prepare(*targets.Targets, args.TriggeringAura);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user