Pelf

chimaeron sql

Nov 15th, 2011
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 1.57 KB | None | 0 0
  1. /*добавление 2х нпц к химерону, если они еще не стоят*/
  2. INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES (6645501, 44202, 669, 1, 1, 0, 0, -135.091, 37.6195, 72.0576, 4.9728, 300, 0, 0, 774900, 0, 0, 0, 0, 0, 0);
  3. INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES (6645245, 44418, 669, 1, 1, 0, 0, -129.199, 36.6752, 72.0577, 4.9139, 300, 0, 0, 77490, 0, 0, 0, 0, 0, 0);
  4.  
  5. /*добавление скриптов*/
  6. UPDATE `creature_template` SET `ScriptName`='npc_finkle_einhorn' WHERE `entry`=44202;
  7. UPDATE `creature_template` SET `ScriptName`='boss_chimaeron' WHERE `entry`=43296;
  8.  
  9. /*установка gosip флага для нпц*/
  10. UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=44202 LIMIT 1;
  11.  
  12. /*установка скорости атаки боссу, он должен бить медленно*/
  13. UPDATE `creature_template` SET `baseattacktime`=3000 WHERE `entry`=43296 LIMIT 1;
  14.  
  15. /*скрипт скилла*/
  16. INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (88826, 'spell_chimaeron_double_attack');
  17.  
Advertisement
Add Comment
Please, Sign In to add comment