Don't like ads? PRO users don't see any ads ;-)
Guest

ss

By: casucristy on Jul 20th, 2012  |  syntax: SQL  |  size: 0.93 KB  |  hits: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. -- Quests Sprout No More and Fungal Monstrosities
  2.  
  3. UPDATE `creature_template` SET `ScriptName` = "npc_war_guardian" WHERE `entry` = 44126;
  4.  
  5. UPDATE `creature_template` SET `exp` = 3, `ScriptName` = "npc_war_guardian_follower" WHERE `entry` = 44118;
  6.  
  7. UPDATE `creature_template` SET `ScriptName` = "npc_giant_mushroom" WHERE `entry` = 44049;
  8.  
  9. -- quest flags
  10. UPDATE `quest_template` SET `QuestFlags` = 0 WHERE `entry` = 26791;
  11.  
  12. SET @GUID:= 530000; -- last guid;
  13. -- corect spawn position
  14. DELETE FROM `creature` WHERE `id` = 44126;
  15. 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
  16. (@GUID,'44126','646','1','1','0','0','1276.26','1647.29','174.011','5.23412','300','0','0','278900','0','0','0','0','0');