123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- --[[
- Script Name : SpawnScripts/QueensColony/ataintedSapswillinvader431129.lua
- Script Purpose : Waypoint Path for ataintedSapswillinvader431129.lua
- Script Author : Rylec
- Script Date : 11-19-2020 05:12:27
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 1
- local level2 = 2
- local difficulty1 = 6
- local hp1 = 30
- local power1 = 25
- local difficulty2 = 6
- local hp2 = 45
- local power2 = 35
- if Level == level1 then
- SpawnSet(NPC, "difficulty", difficulty1)
- SpawnSet(NPC, "hp", hp1)
- SpawnSet(NPC, "power", power1)
- elseif Level == level2
- then
- SpawnSet(NPC, "difficulty", difficulty2)
- SpawnSet(NPC, "hp", hp2)
- SpawnSet(NPC, "power", power2)
- end
- waypoints(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, 189.96, -4.2, 165.23, 2)
- MovementLoopAddLocation(NPC, 143.13, -3.5, 172.04, 2)
- MovementLoopAddLocation(NPC, 127.6, -3.66, 176.03, 2)
- MovementLoopAddLocation(NPC, 98.96, -4, 176.08, 2)
- MovementLoopAddLocation(NPC, 75.82, -4.48, 180.13, 2)
- MovementLoopAddLocation(NPC, 68.99, -4.49, 177.68, 2, 0, "waypointsLoop")
- end
- function waypointsLoop(NPC)
- MovementLoopAddLocation(NPC, 60.48, -4, 189.65, 2, 0)
- MovementLoopAddLocation(NPC, 72.34, -4.3, 169.86, 2, 0)
- MovementLoopAddLocation(NPC, 67.34, -4.28, 154.56, 2, 0)
- MovementLoopAddLocation(NPC, 71.9, -4.3, 170.88, 2, 0)
- end
|