12345678910111213141516171819202122232425262728293031 |
- --[[
- Script Name : SpawnScripts/Antonica/atimberclawgnollRoam.lua
- Script Author : LordPazuzu
- Script Date : 2024.03.27 10:03:45
- Script Purpose :
- :
- --]]
- dofile("SpawnScripts/Generic/CatalogueQuestUpdates.lua")
- require "SpawnScripts/Generic/NPCModule"
- function spawn(NPC, Spawn)
- NPCModule(NPC, Spawn)
- ChooseClass(NPC)
- RandomMovement(NPC, Spawn, 12, -12, 2, 8, 15)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function ChooseClass(NPC)
- SetClass = MakeRandomInt(1,3)
- if SetClass== 1 or SetClass == 2 then
- SpawnSet(NPC, "class", 2)
- SetSpellList(NPC,451)
- elseif SetClass == 3 then
- SpawnSet(NPC, "class", 12)
- SetSpellList(NPC, 329)
- end
- end
|