aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinzcool <kinzzcool@hotmail.com>2013-11-03 19:36:21 -0500
committerKinzcool <kinzzcool@hotmail.com>2013-11-03 19:36:21 -0500
commite6c3a16aa938df3309d02f06d8ac8a73c6fe1cc7 (patch)
tree4a5a808924abe73f9d2ecba470a4ea69c4cc7aba
parent58e9aff999a8cfd69be15c9b4b0ff53633b93661 (diff)
DB/Creatures: Corrected the npc flags for difficulty 1 of some NPCs in IoC & added their respective "click spells".
-rw-r--r--sql/updates/world/2013_11_04_03_world_misc.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2013_11_04_03_world_misc.sql b/sql/updates/world/2013_11_04_03_world_misc.sql
new file mode 100644
index 00000000000..3d75b951eae
--- /dev/null
+++ b/sql/updates/world/2013_11_04_03_world_misc.sql
@@ -0,0 +1,8 @@
+UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry` IN (35415, 35413, 35419, 35429); -- Demolisher, Catapult, Glaive Thrower & Keep Cannon
+
+DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (35415, 35413, 35419, 35429);
+INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
+(35415, 66245, 1, 0), -- Demolisher (Ride Vehicle)
+(35413, 66245, 1, 0), -- Catapult (Ride Vehicle)
+(35419, 68503, 1, 0), -- Glaive Thrower (Ride Vehicle)
+(35429, 68458, 1, 0); -- Keep Cannon (Keep Cannon)