Core/Scripts: Integrate new ActionResultSetter with movement generators and spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/b265c49977235dea5e7e69d7b6fb93f4943bf87a)
This commit is contained in:
@@ -2497,6 +2497,8 @@ namespace Game.Entities
|
||||
}
|
||||
|
||||
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