diff options
author | Keader <keader.android@gmail.com> | 2018-08-18 22:46:03 -0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-10-21 23:13:53 +0200 |
commit | 539fcb1862e3406e8986a90b55b47ec368dc4c77 (patch) | |
tree | 73dca2482eec8091c46f3100f811874cbdcda2bb | |
parent | 8875e895370746c7397ec0d6f871ba23f0e40302 (diff) |
Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes
Closes #21420
(cherry picked from commit 8b9d18f29ca5febf27328634ef1323ea890b40c4)
-rw-r--r-- | src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp index b07d285b8e8..4a9ffef7a0d 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp @@ -858,18 +858,18 @@ class spell_pursuing_spikes : public AuraScript void PeriodicTick(AuraEffect const* /*aurEff*/) { - PreventDefaultAction(); - Unit* permafrostCaster = nullptr; if (Aura* permafrostAura = GetTarget()->GetAura(SPELL_PERMAFROST)) permafrostCaster = permafrostAura->GetCaster(); if (permafrostCaster) { + PreventDefaultAction(); + if (Creature* permafrostCasterCreature = permafrostCaster->ToCreature()) permafrostCasterCreature->DespawnOrUnsummon(3000); - GetTarget()->CastSpell(nullptr, SPELL_SPIKE_FAIL, false); + GetTarget()->CastSpell(nullptr, SPELL_SPIKE_FAIL); GetTarget()->RemoveAllAuras(); if (Creature* targetCreature = GetTarget()->ToCreature()) targetCreature->DisappearAndDie(); |