aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/2011_07_15_00_world_spell_script_names.sql1
-rw-r--r--src/server/scripts/Spells/spell_dk.cpp16
2 files changed, 9 insertions, 8 deletions
diff --git a/sql/updates/world/2011_07_15_00_world_spell_script_names.sql b/sql/updates/world/2011_07_15_00_world_spell_script_names.sql
new file mode 100644
index 00000000000..0afcbebe864
--- /dev/null
+++ b/sql/updates/world/2011_07_15_00_world_spell_script_names.sql
@@ -0,0 +1 @@
+UPDATE `spell_script_names` SET `ScriptName` = 'spell_dk_ghoul_explode' WHERE `spell_id` = 47496;
diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp
index f6492c9dee7..ab3cf7e04a3 100644
--- a/src/server/scripts/Spells/spell_dk.cpp
+++ b/src/server/scripts/Spells/spell_dk.cpp
@@ -239,15 +239,15 @@ class spell_dk_corpse_explosion : public SpellScriptLoader
}
};
-// 47496 - Explode, Gnoul spell for Corpse Explosion
-class spell_dk_gnoul_explode : public SpellScriptLoader
+// 47496 - Explode, Ghoul spell for Corpse Explosion
+class spell_dk_ghoul_explode : public SpellScriptLoader
{
public:
- spell_dk_gnoul_explode() : SpellScriptLoader("spell_dk_gnoul_explode") { }
+ spell_dk_ghoul_explode() : SpellScriptLoader("spell_dk_ghoul_explode") { }
- class spell_dk_gnoul_explode_SpellScript : public SpellScript
+ class spell_dk_ghoul_explode_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_dk_gnoul_explode_SpellScript);
+ PrepareSpellScript(spell_dk_ghoul_explode_SpellScript);
void Suicide(SpellEffIndex /*effIndex*/)
{
@@ -262,13 +262,13 @@ class spell_dk_gnoul_explode : public SpellScriptLoader
void Register()
{
- OnEffect += SpellEffectFn(spell_dk_gnoul_explode_SpellScript::Suicide, EFFECT_1, SPELL_EFFECT_SCHOOL_DAMAGE);
+ OnEffect += SpellEffectFn(spell_dk_ghoul_explode_SpellScript::Suicide, EFFECT_1, SPELL_EFFECT_SCHOOL_DAMAGE);
}
};
SpellScript* GetSpellScript() const
{
- return new spell_dk_gnoul_explode_SpellScript();
+ return new spell_dk_ghoul_explode_SpellScript();
}
};
@@ -559,7 +559,7 @@ void AddSC_deathknight_spell_scripts()
new spell_dk_anti_magic_shell_self();
new spell_dk_anti_magic_zone();
new spell_dk_corpse_explosion();
- new spell_dk_gnoul_explode();
+ new spell_dk_ghoul_explode();
new spell_dk_death_gate();
new spell_dk_death_pact();
new spell_dk_scourge_strike();