fix(Scripts/MoltenCore): Shazzrah should teleport to players (#9212)

This commit is contained in:
Skjalf
2021-11-16 17:49:46 -03:00
committed by GitHub
parent 63eb41fadc
commit 2713080bdd
@@ -165,8 +165,8 @@ public:
if (caster && target) if (caster && target)
{ {
caster->CastSpell(target, SPELL_SHAZZRAH_GATE, true); target->CastSpell(caster, SPELL_SHAZZRAH_GATE, true);
caster->CastSpell(caster, SPELL_ARCANE_EXPLOSION); caster->CastSpell(nullptr, SPELL_ARCANE_EXPLOSION);
if (Creature* creatureCaster = caster->ToCreature()) if (Creature* creatureCaster = caster->ToCreature())
{ {