aRockpawguard.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/Caves/aRockpawguard.lua
  3. Script Purpose : a Rockpaw guard
  4. Script Author : John Adams
  5. Script Date : 2008.09.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. if GetSpawnLocationID(NPC)==133777792 then
  13. MovementLoopAddLocation(NPC, 37.27, 38.1, -78.57, 2, 0)
  14. MovementLoopAddLocation(NPC, 37.5, 38.44, -87.86, 2, 0)
  15. MovementLoopAddLocation(NPC, 38.27, 37.87, -110.65, 2, 15)
  16. MovementLoopAddLocation(NPC, 38.9, 38.23, -90.86, 2, 0)
  17. MovementLoopAddLocation(NPC, 34.6, 37.91, -77.1, 2, 15)
  18. MovementLoopAddLocation(NPC, 35.24, 37.87, -76.47, 2, 0)
  19. MovementLoopAddLocation(NPC, 21.48, 37.63, -90.82, 2, 0)
  20. elseif GetSpawnLocationID(NPC)==133777793 then
  21. MovementLoopAddLocation(NPC, 21.48, 37.63, -90.82, 2, 15)
  22. MovementLoopAddLocation(NPC, 26.11, 37.64, -98.57, 2, 0)
  23. MovementLoopAddLocation(NPC, 26.64, 37.87, -107.78, 2, 0)
  24. MovementLoopAddLocation(NPC, 26.3, 38.45, -115.9, 2, 0)
  25. MovementLoopAddLocation(NPC, 20.14, 38.7, -119.14, 2, 15)
  26. MovementLoopAddLocation(NPC, 21.13, 38.7, -119.25, 2, 0)
  27. MovementLoopAddLocation(NPC, 25.71, 38.17, -114.38, 2, 0)
  28. MovementLoopAddLocation(NPC, 25.91, 37.62, -103.29, 2, 0)
  29. MovementLoopAddLocation(NPC, 24.84, 37.86, -91.23, 2, 0)
  30. MovementLoopAddLocation(NPC, 21.63, 37.84, -88.36, 2, 0)
  31. MovementLoopAddLocation(NPC, 17.22, 37.83, -88.88, 2, 15)
  32. end
  33. end