Wolfenstein

The last line of defense

Feb 11th, 2012
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. -- ------------------------------------------ --
  2. -- quest "The Last Line Of Defense" 13086 fix --
  3. -- ------------------------------------------ --
  4.  
  5. -- on retail players can use Argent Canons to pew-pew quest mobs,
  6. -- since it's more like science-fiction for us, players are allowed to kill mobs by sword and fire.
  7. -- NPC "Frostbrood Destroyer" 30575 needed for quest credit #2 added and spawned
  8. UPDATE `creature_template`
  9. SET
  10. `faction_A` = '2068',
  11. `faction_H` = '2068',
  12. `minrangedmg` = '345',
  13. `maxrangedmg` = '509',
  14. `minlevel` = '80',
  15. `maxlevel` = '80',
  16. `armor` = '9729',
  17. `mindmg` = '1170',
  18. `maxdmg` = '3470',
  19. `attackpower` = '342',
  20. `dmg_multiplier` = '2',
  21. `minhealth` = '315000',
  22. `maxhealth` = '315000',
  23. `InhabitType` = '3'
  24. WHERE
  25. `entry` = '30575';
  26. DELETE FROM `creature` WHERE `id` = '30575';
  27. INSERT INTO `creature` (id, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
  28. (30575, 571, 6335.826172, 82.110123, 409.224274, 3.138359, 300),
  29. (30575, 571, 6457.640625, 171.508743, 409.985840, 2.494332, 300),
  30. (30575, 571, 6319.731445, 212.167740, 391.011688, 4.739780, 300),
  31. (30575, 571, 6034.281250, 63.817360, 394.400238, 0.973792, 300);
  32. UPDATE `creature`
  33. SET
  34. `id` = '30575'
  35. WHERE
  36. `id` = '30674';
  37. -- Argent Towers spawned for better look, but they don't work
  38. DELETE FROM `creature` WHERE `id` = '30236';
  39. INSERT INTO `creature` (id, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
  40. (30236, 571, 6296.888672, 53.354115, 404.575562, 0.782158, 900),
  41. (30236, 571, 6255.935059, 92.995056, 404.473083, 1.567560
  42. , 900),
  43. (30236, 571, 6219.520508, 59.812351, 394.064758, 1.944548
  44. , 900),
  45. (30236, 571, 6162.470215, 60.321831, 394.067474, 2.089845, 900);
  46. -- since for quest credit #1 can be killed difrent mobs, script is the best solution for counting frags
  47. DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN ('30204', '30333', '30205', '30206', '30673', '31043');
  48. INSERT INTO `creature_ai_scripts` (creature_id, event_type, event_chance, action1_type, action1_param1, action1_param2, comment) VALUES
  49. (30204, 6, 100, 33, 30670, 6, "Gives quest 13086 credit"),
  50. (30333, 6, 100, 33, 30670, 6, "Gives quest 13086 credit"),
  51. (30205, 6, 100, 33, 30670, 6, "Gives quest 13086 credit"),
  52. (30206, 6, 100, 33, 30670, 6, "Gives quest 13086 credit"),
  53. (30673, 6, 100, 33, 30670, 6, "Gives quest 13086 credit"),
  54. (31043, 6, 100, 33, 30670, 6, "Gives quest 13086 credit");
Advertisement
Add Comment
Please, Sign In to add comment