123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- --[[
- Script Name : SpawnScripts/DownBelow/bloodsaber_initiate3011.lua
- Script Author : LordPazuzu
- Script Date : 2022.04.03 12:04:47
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 7
- local level2 = 8
- local difficulty1 = 6
- local hp1 = 200
- local power1 = 90
- local difficulty2 = 6
- local hp2 = 240
- local power2 = 100
- 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, 5.28, 0, -118.84, 2, 5)
- MovementLoopAddLocation(NPC, 10.65, 0, -122.66, 2, 5)
- MovementLoopAddLocation(NPC, 6.04, 0, -119.85, 2, 5)
- MovementLoopAddLocation(NPC, 11.72, 0, -123.32, 2, 0)
- MovementLoopAddLocation(NPC, 11.22, 0, -118.37, 2, 5)
- MovementLoopAddLocation(NPC, 7.37, 0, -130.11, 2, 5)
- MovementLoopAddLocation(NPC, 11.02, 0, -125.83, 2, 5)
- MovementLoopAddLocation(NPC, 7.23, 0.18, -132.72, 2, 5)
- MovementLoopAddLocation(NPC, 3.99, 0, -121.36, 2, 5)
- end
|