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:
@@ -9241,6 +9241,12 @@ namespace Game.Spells
|
|||||||
Targets.SetDst(dest);
|
Targets.SetDst(dest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public CastSpellTargetArg(SpellDestination dest)
|
||||||
|
{
|
||||||
|
Targets = new();
|
||||||
|
Targets.SetDst(dest);
|
||||||
|
}
|
||||||
|
|
||||||
public CastSpellTargetArg(SpellCastTargets targets)
|
public CastSpellTargetArg(SpellCastTargets targets)
|
||||||
{
|
{
|
||||||
Targets = new();
|
Targets = new();
|
||||||
|
|||||||
Reference in New Issue
Block a user