casucristy

gwew

Jul 14th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.80 KB | None | 0 0
  1. -- Quest Defending The Wyrmrest Temple
  2. SET @Wyrm   = 27629;
  3. SET @Spell1 = 49161;    -- Flame Breath
  4. SET @Spell2 = 49243;    -- Immolation
  5. SET @Spell3 = 49263;    -- Renew
  6. SET @Spell4 = 49264;    -- Blazing Speed
  7. SET @Spell5 = 49367;    -- Destabilize Azure Dragonshrine
  8.  
  9. UPDATE `creature_template` SET `AIName`='', `ScriptName` = "npc_wyrmrest_defender",`npcflag`=`npcflag`|1,`unit_flags`=134217728,`gossip_menu_id`= 0,`InhabitType`=4,`spell1`=@Spell1,`spell2`=@Spell2,`spell3`=@Spell3,`spell4`=@Spell4,`spell5`=@Spell5 WHERE `entry`=@Wyrm;
  10.  
  11. DELETE FROM `gossip_menu_option` WHERE `menu_id`=@Gossip;
  12.  
  13. DELETE FROM `spell_script_names` WHERE `spell_id` = 49367;
  14. INSERT INTO `spell_script_names` VALUES (49367,"spell_destabilize_dragonshire");
  15.  
  16. DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=27629;
Advertisement
Add Comment
Please, Sign In to add comment