Core/Spells: Added custom spell cast arg
This commit is contained in:
1 parent
0fd255ef5f
commit
5f21168911
3 files changed
+6
No files matched your search
@@ -2952,6 +2952,8 @@ SpellCastResult WorldObject::CastSpell(SpellCastTargets const& targets, uint32 s
|
||||
spell->m_CastItem = triggeringAuraCaster->GetItemByGuid(args.TriggeringAura->GetBase()->GetCastItemGUID());
|
||||
}
|
||||
|
||||
spell->m_customArg = args.CustomArg;
|
||||
|
||||
return spell->prepare(targets, args.TriggeringAura);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user