OpalDarkbriar.lua 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : SpawnScripts/Darklight/OpalDarkbriar.lua
  3. Script Purpose : Opal Darkbriar
  4. Script Author : John Adams
  5. Script Date : 2009.01.31
  6. Script Notes : Auto-Generated Locations from /loc log
  7. --]]
  8. function spawn(NPC)
  9. -- she pops out of Nektulos
  10. MovementLoopAddLocation(NPC, 731.51, -66.26, 92.23, 5, 5)
  11. MovementLoopAddLocation(NPC, 730.81, -66.26, 84.87, 5, 0)
  12. -- and runs for Neriak along this path
  13. MovementLoopAddLocation(NPC, 713.11, -66.27, 85.87, 5, 0)
  14. MovementLoopAddLocation(NPC, 648.75, -55.57, 87.71, 5, 0)
  15. MovementLoopAddLocation(NPC, 565.20, -44.76, 73.07, 5, 0)
  16. MovementLoopAddLocation(NPC, 529.12, -47.11, 55.37, 5, 0)
  17. MovementLoopAddLocation(NPC, 481.85, -45.80, 47.16, 5, 0)
  18. MovementLoopAddLocation(NPC, 431.75, -38.18, -3.26, 5, 0)
  19. MovementLoopAddLocation(NPC, 344.12, -31.62, 2.87, 5, 0)
  20. MovementLoopAddLocation(NPC, 243.35, -21.61, 20.27, 5, 0)
  21. MovementLoopAddLocation(NPC, 219.18, -21.28, 33.43, 5, 0)
  22. MovementLoopAddLocation(NPC, 193.26, -23.35, 33.61, 5, 0)
  23. MovementLoopAddLocation(NPC, 162.40, -32.60, 24.66, 5, 0)
  24. MovementLoopAddLocation(NPC, 142.16, -41.25, 7.35, 5, 0)
  25. MovementLoopAddLocation(NPC, 125.97, -42.22, -23.69, 5, 0)
  26. MovementLoopAddLocation(NPC, 103.92, -47.94, -40.30, 5, 0)
  27. MovementLoopAddLocation(NPC, 85.21, -50.88, -45.10, 5, 0)
  28. MovementLoopAddLocation(NPC, 60.97, -51.79, -62.79, 5, 0)
  29. MovementLoopAddLocation(NPC, 21.74, -48.77, -17.95, 5, 0)
  30. MovementLoopAddLocation(NPC, -5.13, -51.01, 5.02, 5, 0)
  31. MovementLoopAddLocation(NPC, -15.33, -51.53, 25.12, 5, 0)
  32. MovementLoopAddLocation(NPC, -116.78, -55.40, 9.44, 5, 0)
  33. MovementLoopAddLocation(NPC, -196.82, -52.84, 20.44, 5, 0)
  34. MovementLoopAddLocation(NPC, -279.86, -55.93, 23.89, 5, 0)
  35. MovementLoopAddLocation(NPC, -332.51, -52.64, 22.01, 5, 0)
  36. MovementLoopAddLocation(NPC, -366.92, -51.36, 15.03, 5, 0)
  37. MovementLoopAddLocation(NPC, -375.64, -51.93, -6.33, 5, 0)
  38. MovementLoopAddLocation(NPC, -432.46, -49.65, -44.58, 5, 0)
  39. MovementLoopAddLocation(NPC, -498.40, -50.50, -75.37, 5, 0)
  40. MovementLoopAddLocation(NPC, -536.19, -53.27, -84.00, 5, 0)
  41. MovementLoopAddLocation(NPC, -593.50, -56.70, -74.40, 5, 0)
  42. MovementLoopAddLocation(NPC, -657.14, -57.06, -86.47, 5, 0)
  43. MovementLoopAddLocation(NPC, -678.35, -55.46, -83.81, 5, 10, "DespawnOpal")
  44. -- she needs to poof into Neriak at this point
  45. end
  46. function hailed(NPC, Spawn)
  47. Say(NPC, "No one can stop me!")
  48. end
  49. function respawn(NPC)
  50. spawn(NPC)
  51. end
  52. function DespawnOpal(NPC)
  53. -- make her depop, but she needs to use her respawn timer to run again in 20 mins.
  54. Despawn(NPC, 0)
  55. end