aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-17 16:34:02 -0500
committermegamage <none@none>2009-08-17 16:34:02 -0500
commitd205ff9e0675f181f7c7a34a517e5dc3b75ff5ea (patch)
tree8e5306bc16f341e5a5364538465bd4828f15cbf9 /sql/updates
parentd118ef5d08947ece90aab1a8281dd065f5a01793 (diff)
[8377] Resolve some spell_area problems in GM and non-GM mode. Author: VladimirMangos
* Make spell 40216 and 42016 casted/remove at aura 40214 apply/remove. And drop related spell_area possible existed data. * In general restore apply area limitations to spell casting in GM mode. --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/5169_world_spell_linked_spell.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/5169_world_spell_linked_spell.sql b/sql/updates/5169_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..7c35b08b29e
--- /dev/null
+++ b/sql/updates/5169_world_spell_linked_spell.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_area` where spell in (40216,42016);
+
+DELETE FROM `spell_linked_spell` WHERE spell_trigger = 40214;
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 40214, 40216, 2, 'Dragonmaw Illusion'),
+( 40214, 42016, 2, 'Dragonmaw Illusion');