123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- --[[
- Script Name : festering_zombie9.lua
- Script Purpose : Waypoint Path for festering_zombie9.lua
- Script Author : Devn00b
- Script Date : 06/26/2020 05:34:26 PM
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 =14
- local level2 = 15
- local difficulty1 = 6
- local hp1 = 795
- local power1 = 240
- local difficulty2 = 6
- local hp2 = 920
- local power2 = 270
- 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, 174.9, -6.91, -69.88, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 172.24, -6.96, -72.38, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 171.77, -6.96, -75.25, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 168.91, -6.97, -69.83, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 169.44, -6.96, -71.8, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 173.01, -6.92, -71.36, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 174.81, -6.9, -70.09, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 175.03, -6.94, -72.96, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 169.48, -6.88, -73.69, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 171.95, -6.97, -70.72, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 171.13, -6.94, -75.27, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 171.95, -6.97, -70.72, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 169.48, -6.88, -73.69, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 175.03, -6.94, -72.96, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 174.81, -6.9, -70.09, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 173.01, -6.92, -71.36, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 169.44, -6.96, -71.8, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 168.91, -6.97, -69.83, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 171.77, -6.96, -75.25, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 172.24, -6.96, -72.38, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, 174.9, -6.91, -69.88, 2, math.random(0,5))
- end
|