12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- --[[
- Script Name : SpawnScripts/QueensColony/adefiledsoldier133769629.lua
- Script Purpose : Waypoint Path for adefiledsoldier133769629.lua
- Script Author : Rylec, PlayFlavor by premierio015
- Script Date : 06-26-2020 06:15:07
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- SpawnSet(NPC, "hp", 110)
- SpawnSet(NPC, "power", 55)
- waypoints(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, 172.62, -0.6, -177.95, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 183.25, -0.64, -167.71, 2, 0)
- MovementLoopAddLocation(NPC, 188.37, -0.66, -158.95, 2, 0)
- MovementLoopAddLocation(NPC, 190.91, -0.67, -157.25, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 190.95, -0.67, -160.16, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 189.6, -0.67, -148.23, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 196.54, -0.69, -157.07, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 190.9, -0.67, -145.53, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 191.12, -0.67, -160.53, 2, 0)
- MovementLoopAddLocation(NPC, 189.5, -0.66, -171.45, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 197.95, -0.7, -137.65, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 196.85, -0.69, -140.11, 2, 0)
- MovementLoopAddLocation(NPC, 190.98, -0.67, -149.04, 2, 0)
- MovementLoopAddLocation(NPC, 172.65, 0.46, -165.01, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 189.43, -0.66, -153.45, 2, math.random(12, 22))
- MovementLoopAddLocation(NPC, 180.12, -0.63, -165.24, 2, 0)
- end
- function aggro(NPC, Spawn)
- math.randomseed(os.time())
- local choice = math.random (1,3)
- if choice == 1 then
- PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_c77d7bff.mp3", "Your eyes are so pretty.", "", 1412152942, 873988632, Spawn)
- elseif choice == 2 then
- PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_2168c5.mp3", "Seek death and it finds you.", "", 2988489621, 1045543573, Spawn)
- else
- PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_8bc7a2cc.mp3", "Your blood calls to me.", "", 1242322025, 1154999668, Spawn)
- end
- end
- function death(NPC, Spawn)
- math.randomseed(os.time())
- local choice = math.random(1,2)
- if choice == 1 then
- PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_ff39f327.mp3", "Final death comes at last.", "", 3768284332, 62777040, Spawn)
- else
- PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_fbcb503b.mp3", "Rest in peace.", "", 3591309093, 1423656405, Spawn)
- end
- end
|