aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-25 16:12:47 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-25 16:12:47 +0200
commit6d28891cdf2a0d43f04d2c5b3813d2d6e1dd9a0c (patch)
treee524fb0b47534719df4cdf5cd0991f4e1bebb62f
parent06324832b70d4af1804b57885c71db3baf2d2231 (diff)
Core/Spells: Remove spell script for druid "Owlkin Frenzy" - is no longer required
-rw-r--r--sql/updates/world/2013_07_25_08_world_spell_script_names_434.sql1
-rw-r--r--src/server/scripts/Spells/spell_druid.cpp28
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp1
-rw-r--r--src/server/scripts/Spells/spell_paladin.cpp4
4 files changed, 4 insertions, 30 deletions
diff --git a/sql/updates/world/2013_07_25_08_world_spell_script_names_434.sql b/sql/updates/world/2013_07_25_08_world_spell_script_names_434.sql
new file mode 100644
index 00000000000..1b80a8cc1a0
--- /dev/null
+++ b/sql/updates/world/2013_07_25_08_world_spell_script_names_434.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dru_owlkin_frenzy'; \ No newline at end of file
diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp
index b6606f40267..26b50b4b3b4 100644
--- a/src/server/scripts/Spells/spell_druid.cpp
+++ b/src/server/scripts/Spells/spell_druid.cpp
@@ -595,33 +595,6 @@ class spell_dru_living_seed_proc : public SpellScriptLoader
}
};
-// 48391 - Owlkin Frenzy
-class spell_dru_owlkin_frenzy : public SpellScriptLoader
-{
- public:
- spell_dru_owlkin_frenzy() : SpellScriptLoader("spell_dru_owlkin_frenzy") { }
-
- class spell_dru_owlkin_frenzy_AuraScript : public AuraScript
- {
- PrepareAuraScript(spell_dru_owlkin_frenzy_AuraScript);
-
- void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/)
- {
- amount = CalculatePct(GetUnitOwner()->GetCreatePowers(POWER_MANA), amount);
- }
-
- void Register() OVERRIDE
- {
- DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_dru_owlkin_frenzy_AuraScript::CalculateAmount, EFFECT_2, SPELL_AURA_PERIODIC_ENERGIZE);
- }
- };
-
- AuraScript* GetAuraScript() const OVERRIDE
- {
- return new spell_dru_owlkin_frenzy_AuraScript();
- }
-};
-
// -16972 - Predatory Strikes
class spell_dru_predatory_strikes : public SpellScriptLoader
{
@@ -1079,7 +1052,6 @@ void AddSC_druid_spell_scripts()
new spell_dru_lifebloom();
new spell_dru_living_seed();
new spell_dru_living_seed_proc();
- new spell_dru_owlkin_frenzy();
new spell_dru_predatory_strikes();
new spell_dru_rip();
new spell_dru_savage_defense();
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index dc7cd228e1b..be3801b859e 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -1796,6 +1796,7 @@ class spell_gen_increase_stats_buff : public SpellScriptLoader
}
};
+// -81708 - Lifeblood
class spell_gen_lifeblood : public SpellScriptLoader
{
public:
diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp
index f793b8a387a..69d3191b9fe 100644
--- a/src/server/scripts/Spells/spell_paladin.cpp
+++ b/src/server/scripts/Spells/spell_paladin.cpp
@@ -57,7 +57,7 @@ enum MiscSpells
SPELL_GENERIC_ARENA_DAMPENING = 74410,
SPELL_GENERIC_BATTLEGROUND_DAMPENING = 74411
};
-
+/*
// 31850 - Ardent Defender
class spell_pal_ardent_defender : public SpellScriptLoader
{
@@ -133,7 +133,7 @@ class spell_pal_ardent_defender : public SpellScriptLoader
return new spell_pal_ardent_defender_AuraScript();
}
};
-
+*/
// 37877 - Blessing of Faith
class spell_pal_blessing_of_faith : public SpellScriptLoader
{