aboutsummaryrefslogtreecommitdiff
path: root/sql/base/world_database.sql
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/base/world_database.sql
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/base/world_database.sql')
-rw-r--r--sql/base/world_database.sql5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index e4e829ad839..939a7269a43 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -14803,7 +14803,10 @@ INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
( 47193, 'spell_warl_demonic_empowerment'),
( 47422, 'spell_warl_everlasting_affliction'),
-- druid
-( 54846, 'spell_dru_glyph_of_starfire');
+( 54846, 'spell_dru_glyph_of_starfire'),
+-- example
+( 66244, 'spell_ex_66244'),
+( 5581, 'spell_ex_5581');
/*!40000 ALTER TABLE `spell_script_names` ENABLE KEYS */;
UNLOCK TABLES;