aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-25 17:03:08 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-25 17:03:08 +0200
commit6dc1f242e4bfc82dd02584b798b283495e232190 (patch)
tree24c37855b12339091e3fbd2027c1409e7df36aa7 /src
parent3511ce9125d8b141dea90e441da9a594bfd2e79c (diff)
* Core/Spells: Remove spell script for druid "Lifeblood" - is no longer required
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index be3801b859e..f2a59f9800b 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -1796,34 +1796,6 @@ class spell_gen_increase_stats_buff : public SpellScriptLoader
}
};
-// -81708 - Lifeblood
-class spell_gen_lifeblood : public SpellScriptLoader
-{
- public:
- spell_gen_lifeblood() : SpellScriptLoader("spell_gen_lifeblood") { }
-
- class spell_gen_lifeblood_AuraScript : public AuraScript
- {
- PrepareAuraScript(spell_gen_lifeblood_AuraScript);
-
- void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/)
- {
- if (Unit* owner = GetUnitOwner())
- amount += int32(CalculatePct(owner->GetMaxHealth(), 1.5f / aurEff->GetTotalTicks()));
- }
-
- void Register() OVERRIDE
- {
- DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_gen_lifeblood_AuraScript::CalculateAmount, EFFECT_0, SPELL_AURA_PERIODIC_HEAL);
- }
- };
-
- AuraScript* GetAuraScript() const OVERRIDE
- {
- return new spell_gen_lifeblood_AuraScript();
- }
-};
-
enum GenericLifebloom
{
SPELL_HEXLORD_MALACRASS_LIFEBLOOM_FINAL_HEAL = 43422,
@@ -3734,7 +3706,6 @@ void AddSC_generic_spell_scripts()
new spell_gen_increase_stats_buff("spell_mage_arcane_brilliance");
new spell_gen_increase_stats_buff("spell_mage_dalaran_brilliance");
new spell_gen_launch();
- new spell_gen_lifeblood();
new spell_gen_lifebloom("spell_hexlord_lifebloom", SPELL_HEXLORD_MALACRASS_LIFEBLOOM_FINAL_HEAL);
new spell_gen_lifebloom("spell_tur_ragepaw_lifebloom", SPELL_TUR_RAGEPAW_LIFEBLOOM_FINAL_HEAL);
new spell_gen_lifebloom("spell_cenarion_scout_lifebloom", SPELL_CENARION_SCOUT_LIFEBLOOM_FINAL_HEAL);