Core/Spells: Added custom spell cast arg

This commit is contained in:
Shauren authored and Ovahlord committed 2023-01-17 23:33:13 +01:00
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);
}