diff options
| -rw-r--r-- | sql/updates/world/2013_07_26_03_world_spell_script_names_434.sql | 1 | ||||
| -rw-r--r-- | src/server/scripts/Spells/spell_paladin.cpp | 34 |
2 files changed, 1 insertions, 34 deletions
diff --git a/sql/updates/world/2013_07_26_03_world_spell_script_names_434.sql b/sql/updates/world/2013_07_26_03_world_spell_script_names_434.sql new file mode 100644 index 00000000000..f62fd1f66ea --- /dev/null +++ b/sql/updates/world/2013_07_26_03_world_spell_script_names_434.sql @@ -0,0 +1 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pal_hand_of_salvation'; diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 69d3191b9fe..1a7dd7fb54d 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -451,39 +451,6 @@ class spell_pal_hand_of_sacrifice : public SpellScriptLoader } }; -// 1038 - Hand of Salvation -class spell_pal_hand_of_salvation : public SpellScriptLoader -{ - public: - spell_pal_hand_of_salvation() : SpellScriptLoader("spell_pal_hand_of_salvation") { } - - class spell_pal_hand_of_salvation_AuraScript : public AuraScript - { - PrepareAuraScript(spell_pal_hand_of_salvation_AuraScript); - - void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) - { - if (Unit* caster = GetCaster()) - { - // Glyph of Salvation - if (caster->GetGUID() == GetUnitOwner()->GetGUID()) - if (AuraEffect const* aurEff = caster->GetAuraEffect(SPELL_PALADIN_GLYPH_OF_SALVATION, EFFECT_0)) - amount -= aurEff->GetAmount(); - } - } - - void Register() OVERRIDE - { - DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_pal_hand_of_salvation_AuraScript::CalculateAmount, EFFECT_1, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN); - } - }; - - AuraScript* GetAuraScript() const OVERRIDE - { - return new spell_pal_hand_of_salvation_AuraScript(); - } -}; - // 37705 - Healing Discount class spell_pal_item_healing_discount : public SpellScriptLoader { @@ -869,7 +836,6 @@ void AddSC_paladin_spell_scripts() new spell_pal_exorcism_and_holy_wrath_damage(); new spell_pal_eye_for_an_eye(); new spell_pal_hand_of_sacrifice(); - new spell_pal_hand_of_salvation(); new spell_pal_item_healing_discount(); new spell_pal_holy_shock(); new spell_pal_lay_on_hands(); |
