aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorQAston <none@none>2010-08-24 00:10:49 +0200
committerQAston <none@none>2010-08-24 00:10:49 +0200
commit07a3a1254b78a42a7836efee99dc3d821c726d28 (patch)
treea60eea1353da993ef27cef51e6a30cbabd92a47f /sql/updates
parente581feb551cb54803da1478da04032e260b35937 (diff)
*Add AuraScript class for scripting aura objects - scripts are registered same way as SpellScripts, bound to SpellScriptNames table. For more details see example_spell.cpp and SpellScript.h
*Rename SpellHandlerScript to SpellScriptLoader, EffectHandlerFn to SpellEffectFn, HitHandlerFn to SpellHitFn, SpellScript::EffectHandlers to SpellScript::OnEffect, these changes were neccesary to prevent namespace collisions, happily you can solve these by simple find and replace *Make spells 66244 and 5581 example scripts. --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/5944_world_spell_script_names.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/updates/5944_world_spell_script_names.sql b/sql/updates/5944_world_spell_script_names.sql
new file mode 100644
index 00000000000..341b1f43bdd
--- /dev/null
+++ b/sql/updates/5944_world_spell_script_names.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_script_names` WHERE `spell_id` = 66244 AND `ScriptName` = "spell_ex_66244";
+DELETE FROM `spell_script_names` WHERE `spell_id` = 5581 AND `ScriptName` = "spell_ex_5581";
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (66244, "spell_ex_66244"), (5581, "spell_ex_5581");