diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp b/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp index e92f6f8e731..e506d3ec260 100644 --- a/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp +++ b/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp @@ -314,16 +314,6 @@ class spell_cragmaw_larva_metamorphosis : public AuraScript }); } - void OnApply(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/) - { - // Spell duration is 8s on heroic+ difficulties - if (GetTarget()->GetMap()->GetDifficultyID() != DIFFICULTY_NORMAL) - { - aurEff->GetBase()->SetDuration(8000); - aurEff->GetBase()->SetMaxDuration(8000); - } - } - void HandlePeriodic(AuraEffect const* aurEff) { if (aurEff->GetTickNumber() == aurEff->GetTotalTicks() - 2) @@ -342,7 +332,6 @@ class spell_cragmaw_larva_metamorphosis : public AuraScript void Register() override { - AfterEffectApply += AuraEffectApplyFn(spell_cragmaw_larva_metamorphosis::OnApply, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY, AURA_EFFECT_HANDLE_REAL); OnEffectPeriodic += AuraEffectPeriodicFn(spell_cragmaw_larva_metamorphosis::HandlePeriodic, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY); AfterEffectRemove += AuraEffectRemoveFn(spell_cragmaw_larva_metamorphosis::OnRemove, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY, AURA_EFFECT_HANDLE_REAL); } |