Advertisement
bucur35

Mathias's Command

Sep 3rd, 2012
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.96 KB | None | 0 0
  1. /*******************
  2.   Mathias's Command
  3. *******************/
  4.  
  5. -- NPC Script
  6.  
  7. DELETE FROM `creature_template` WHERE  `entry`=47592 LIMIT 1;
  8. INSERT INTO `creature_template` (`entry`, `modelid1`, `name`, `subname`, `IconName`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `rank`, `mindmg`, `maxdmg`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `unit_class`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `mingold`, `maxgold`, `InhabitType`, `Health_mod`) VALUES
  9. (47592, 34974, 'Master Mathias Shaw', 'Leader of SI:7', '', 85, 85, 3, 11, 11, 7, 1, 530, 713, 827, 4.6, 2000, 1, 399, 559, 169, 7, 15, 33, 1, 11.9803);
  10.  
  11. -- NPC Mathias Shaw spawn
  12.  
  13. SET @Guid := xxxxx;
  14.  
  15. DELETE FROM `creature` WHERE  `guid`=@Guid LIMIT 1;
  16. INSERT INTO `creature` (`guid`, `id`, `modelid`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`) VALUES
  17. (@Guid, 47592, 34974, -3523.974121, -3812.373535, 91.380028, 0.962582, 300);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement