diff options
author | Sebastian Valle <s.v.h21@hotmail.com> | 2013-11-03 12:48:59 -0500 |
---|---|---|
committer | Sebastian Valle <s.v.h21@hotmail.com> | 2013-11-03 12:48:59 -0500 |
commit | 184fe092c3a7d37eb3983ec11e3f5d3a9f6640fa (patch) | |
tree | 216e2c608ecba516fdbd9ad8e4203d605bd00042 /src | |
parent | 428cf6b0ee27900cfd6c253ef21038bc1d6bac60 (diff) |
Scripts/Spells: Removed the duplicate script.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_warlock.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index 7e0de4ce506..bae21d0baea 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -1431,45 +1431,6 @@ class spell_warl_unstable_affliction : public SpellScriptLoader } }; -// 77799 - Fel Flame -// Updated 4.3.4 -class spell_warl_fel_flame : public SpellScriptLoader -{ -public: - spell_warl_fel_flame() : SpellScriptLoader("spell_warl_fel_flame") { } - - class spell_warl_fel_flame_SpellScript : public SpellScript - { - PrepareSpellScript(spell_warl_fel_flame_SpellScript); - - bool Validate(SpellInfo const* /*spellInfo*/) OVERRIDE - { - return sSpellMgr->GetSpellInfo(SPELL_WARLOCK_IMMOLATE) && sSpellMgr->GetSpellInfo(SPELL_WARLOCK_UNSTABLE_AFFLICTION); - } - - void ScriptEffect(SpellEffIndex /*effIndex*/) - { - uint32 bonus = GetSpellInfo()->Effects[EFFECT_1].CalcValue(GetCaster()) * IN_MILLISECONDS; - // Increase Immolate duration - if (Aura const* aura = GetHitUnit()->GetAura(SPELL_WARLOCK_IMMOLATE, GetCaster()->GetGUID())) - aura->SetDuration(aura->GetDuration() + bonus); - // Increase Unstable Affliction duration - if (Aura const* aura = GetHitUnit()->GetAura(SPELL_WARLOCK_UNSTABLE_AFFLICTION, GetCaster()->GetGUID())) - aura->SetDuration(aura->GetDuration() + bonus); - } - - void Register() OVERRIDE - { - OnEffectHitTarget += SpellEffectFn(spell_warl_fel_flame_SpellScript::ScriptEffect, EFFECT_1, SPELL_EFFECT_SCRIPT_EFFECT); - } - }; - - SpellScript* GetSpellScript() const OVERRIDE - { - return new spell_warl_fel_flame_SpellScript(); - } -}; - void AddSC_warlock_spell_scripts() { new spell_warl_aftermath(); @@ -1502,5 +1463,4 @@ void AddSC_warlock_spell_scripts() new spell_warl_soul_swap_override(); new spell_warl_soulshatter(); new spell_warl_unstable_affliction(); - new spell_warl_fel_flame(); } |