1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- --[[
- Script Name : SpawnScripts/QueensColony/afallenassassin133770256.lua
- Script Purpose : Waypoint Path for afallenassassin133770256.lua
- Script Author : Rylec, VO by Premierio015, Skull drop by Jabantiz
- Script Date : 07-28-2020 10:35:22
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- waypoints(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, -123.59, 4.52, -38.77, 7.5, 3)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
- MovementLoopAddLocation(NPC, -123.73, 4.4, -40.89, 7.5, 0)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
- MovementLoopAddLocation(NPC, -123.73, 4.4, -40.89, 7.5, 0)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
- MovementLoopAddLocation(NPC, -123.73, 4.4, -40.89, 7.5, 0)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
- MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
- MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
- MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
- MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 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
- --[[
- Following is Jab's original code:
- if IsPlayer(Spawn) then
- local chance = math.random(1, 100)
- if chance <= 35 then
- local skull = SpawnMob(GetZone(Spawn), 2530192, false, GetX(NPC), GetY(NPC), GetZ(NPC))
- if skull ~= nil then
- SpawnSet(skull, "expire", "1000")
- --]]
|