123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- --[[
- Script Name : crypt_substance13.lua
- Script Purpose : Waypoint Path for crypt_substance13.lua
- Script Author : Devn00b
- Script Date : 05/13/2020 01:02:18 PM
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 6
- local level2 = 5
- local difficulty1 = 6
- local hp1 = 150
- local power1 = 150
- local difficulty2 = 6
- local hp2 = 130
- local power2 = 130
- 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)
- waypoints(NPC)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, -171.73, -0.11, -175.57, 2, 0)
- MovementLoopAddLocation(NPC, -172.36, -0.09, -187.5, 2, 0)
- MovementLoopAddLocation(NPC, -181.63, -0.16, -190.6, 2, 0)
- MovementLoopAddLocation(NPC, -188.36, -0.09, -190.34, 2, 0)
- MovementLoopAddLocation(NPC, -177.31, -0.05, -189.95, 2, 0)
- MovementLoopAddLocation(NPC, -172.58, -0.08, -182.05, 2, 0)
- MovementLoopAddLocation(NPC, -172.63, -0.12, -174.93, 2, 0)
- MovementLoopAddLocation(NPC, -165.55, 0.3, -170.19, 2, 0)
- MovementLoopAddLocation(NPC, -156.82, -0.23, -175.91, 2, 0)
- MovementLoopAddLocation(NPC, -142.94, -0.27, -177.19, 2, 0)
- MovementLoopAddLocation(NPC, -132.25, 0.48, -182.26, 2, 0)
- MovementLoopAddLocation(NPC, -121.77, 0.52, -180.08, 2, 0)
- MovementLoopAddLocation(NPC, -118.64, -0.12, -167.66, 2, 0)
- MovementLoopAddLocation(NPC, -121.39, 0.21, -153.73, 2, 0)
- MovementLoopAddLocation(NPC, -127.33, -0.06, -145.43, 2, 0)
- MovementLoopAddLocation(NPC, -129.67, -0.02, -138.66, 2, 0)
- MovementLoopAddLocation(NPC, -130.03, -0.04, -136.37, 2, 0)
- MovementLoopAddLocation(NPC, -136.94, 0.33, -136.44, 2, 0)
- MovementLoopAddLocation(NPC, -146.63, -0.13, -137.21, 2, 0)
- MovementLoopAddLocation(NPC, -156.08, -0.08, -137.07, 2, 0)
- MovementLoopAddLocation(NPC, -158.89, -0.05, -132.33, 2, 0)
- MovementLoopAddLocation(NPC, -160.08, -0.08, -127.27, 2, 0)
- MovementLoopAddLocation(NPC, -157.42, 0.49, -107.21, 2, 0)
- MovementLoopAddLocation(NPC, -145.26, -0.08, -76.43, 2, 0)
- MovementLoopAddLocation(NPC, -157.42, 0.49, -107.21, 2, 0)
- MovementLoopAddLocation(NPC, -160.08, -0.08, -127.27, 2, 0)
- MovementLoopAddLocation(NPC, -158.89, -0.05, -132.33, 2, 0)
- MovementLoopAddLocation(NPC, -156.08, -0.08, -137.07, 2, 0)
- MovementLoopAddLocation(NPC, -146.63, -0.13, -137.21, 2, 0)
- MovementLoopAddLocation(NPC, -136.94, 0.33, -136.44, 2, 0)
- MovementLoopAddLocation(NPC, -130.03, -0.04, -136.37, 2, 0)
- MovementLoopAddLocation(NPC, -129.67, -0.02, -138.66, 2, 0)
- MovementLoopAddLocation(NPC, -127.33, -0.06, -145.43, 2, 0)
- MovementLoopAddLocation(NPC, -121.39, 0.21, -153.73, 2, 0)
- MovementLoopAddLocation(NPC, -118.64, -0.12, -167.66, 2, 0)
- MovementLoopAddLocation(NPC, -121.77, 0.52, -180.08, 2, 0)
- MovementLoopAddLocation(NPC, -132.25, 0.48, -182.26, 2, 0)
- MovementLoopAddLocation(NPC, -142.94, -0.27, -177.19, 2, 0)
- MovementLoopAddLocation(NPC, -156.82, -0.23, -175.91, 2, 0)
- MovementLoopAddLocation(NPC, -165.55, 0.3, -170.19, 2, 0)
- MovementLoopAddLocation(NPC, -172.63, -0.12, -174.93, 2, 0)
- MovementLoopAddLocation(NPC, -172.58, -0.08, -182.05, 2, 0)
- MovementLoopAddLocation(NPC, -177.31, -0.05, -189.95, 2, 0)
- MovementLoopAddLocation(NPC, -188.36, -0.09, -190.34, 2, 0)
- MovementLoopAddLocation(NPC, -181.63, -0.16, -190.6, 2, 0)
- MovementLoopAddLocation(NPC, -172.36, -0.09, -187.5, 2, 0)
- MovementLoopAddLocation(NPC, -171.73, -0.11, -175.57, 2, 0)
- end
|