12345678910111213141516171819202122232425262728293031323334353637383940 |
- --[[
- Script Name : SpawnScripts/IsleRefuge1/afallenpirate.lua
- Script Author : LordPazuzu
- Script Date : 2022.09.13 03:09:54
- Script Purpose :
- :
- --]]
- dofile("SpawnScripts/Generic/MonsterCallouts/BaseSkeleton1.lua")
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 4
- local level2 = 5
- local difficulty1 = 6
- local hp1 = 110
- local power1 = 55
- local difficulty2 = 6
- local hp2 = 130
- local power2 = 65
- 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
- SetSpawnAnimation(NPC, 13016)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|