Core/Spells: Allow passing SpellDestination to CastSpell to target locations on a transport

Port From (https://github.com/TrinityCore/TrinityCore/commit/9c393a40e2133bdd59d1ff336a467620364bee85)
This commit is contained in:
hondacrx
2023-06-13 05:25:39 -04:00
parent 4180b6fa3f
commit 7d6b5fbe76
+6
View File
@@ -9241,6 +9241,12 @@ namespace Game.Spells
Targets.SetDst(dest);
}
public CastSpellTargetArg(SpellDestination dest)
{
Targets = new();
Targets.SetDst(dest);
}
public CastSpellTargetArg(SpellCastTargets targets)
{
Targets = new();