casucristy

sqe

Jul 17th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.84 KB | None | 0 0
  1. -- Quest Violent Gale - 26426
  2.  
  3. UPDATE `quest_template` SET `QuestFlags` = 132 WHERE `entry` = 26426;
  4.  
  5. UPDATE `creature_template` SET `ScriptName` = "npc_violent_gale_credit_bunny" WHERE `entry` IN (44282,44281);
  6.  
  7. --spawn dummyes
  8.  
  9. SET @GUID:= xxxxxxx; --last guid
  10.  
  11. DELETE FROM `creature` WHERE `id` IN (44281,44282);
  12.  
  13. INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES
  14. (@GUID+0,'44281','646','1','1','0','0','1722.3','416.07','-70.8044','3.57804','300','0','0','42','0','0','0','0','0'),
  15. (@GUID+1,'44282','646','1','1','0','0','1923.6','86.6995','-125.464','6.27982','300','0','0','42','0','0','0','0','0');
Advertisement
Add Comment
Please, Sign In to add comment