12345678910111213141516171819202122232425262728293031323334 |
- --[[
- Script Name : SpawnScripts/Commonlands/aBloodskullnegotiator.lua
- Script Author : LordPazuzu
- Script Date : 2024.01.04 05:01:53
- Script Purpose :
- :
- --]]
- require "SpawnScripts/Generic/NPCModule"
- function spawn(NPC, Spawn)
- NPCModule(NPC, Spawn)
- Bloodskull(NPC)
- --OrcArmorCommon(NPC)
- setclass(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function setclass (NPC, Spawn)
- class = MakeRandomInt(1,3)
- if class == 1 then
- SpawnSet(NPC, "class", 5)
- elseif class == 2 then
- SpawnSet(NPC, "class", 2)
- elseif class == 3 then
- SpawnSet(NPC, "class", 38)
- end
- end
|