1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- --[[
- Script Name : SpawnScripts/QueensColony/agrovedeer428052.lua
- Script Purpose : Waypoint Path for agrovedeer428052.lua
- Script Author : Rylec
- Script Date : 04-19-2020 02:19:48
- 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)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, 157.47, -4.16, 209.71, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 178.04, -3.61, 195.28, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 152.41, -3.33, 197.56, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 168.42, -3.43, 179.1, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 166.94, -3.29, 172.27, 2, 0)
- MovementLoopAddLocation(NPC, 165.1, -3.17, 169.29, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 162.47, -3.06, 174.11, 2, 0)
- MovementLoopAddLocation(NPC, 151.24, -4.1, 205.53, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 158.75, -3.45, 203.11, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 137.77, -3.37, 151.62, 2, 0)
- MovementLoopAddLocation(NPC, 137.06, -3.82, 147.82, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 146.56, -3.71, 148.12, 2, math.random(10, 24))
- MovementLoopAddLocation(NPC, 147.99, -3.61, 149.88, 2, 0)
- MovementLoopAddLocation(NPC, 158.85, -3.36, 150, 2, math.random(10, 24))
- end
|