diff options
| author | Shauren <shauren.trinity@gmail.com> | 2011-03-04 21:18:38 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2011-03-04 21:19:43 +0100 |
| commit | 7120f1eff80c9f057a40831a10d8975c0a8a7439 (patch) | |
| tree | e77c66ff87570d1484b2cf81be6920ad5cd5e7fd /sql/updates | |
| parent | a9582964d3ca140a1ec1d5894b79e72ed15a65a6 (diff) | |
Core/Spells:
* Implemented on CheckCast spell script hook
* Added possibility to send SPELL_FAILED_CUSTOM_ERROR and added enum with all possible options for it
Scripts/Spells:
* Added example script for CheckCast hook with SPELL_FAILED_CUSTOM_ERROR (profession research and Book of Glyph Mastery)
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/world/2011_03_04_1_world_spell_script_names.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2011_03_04_1_world_spell_script_names.sql b/sql/updates/world/2011_03_04_1_world_spell_script_names.sql new file mode 100644 index 00000000000..db399ebd042 --- /dev/null +++ b/sql/updates/world/2011_03_04_1_world_spell_script_names.sql @@ -0,0 +1,8 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_profession_research'; +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_item_book_of_glyph_mastery'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(60893, 'spell_gen_profession_research'), +(61177, 'spell_gen_profession_research'), +(61288, 'spell_gen_profession_research'), +(61756, 'spell_gen_profession_research'), +(64323, 'spell_item_book_of_glyph_mastery'); |
