1234567891011121314151617181920212223242526272829303132333435363738 |
- --[[
- Script Name : SpawnScripts/TheThievesWay_Classic/adiseasedratonga.lua
- Script Author : LordPazuzu
- Script Date : 2023.12.04 04:12:34
- Script Purpose :
- :
- --]]
- require "SpawnScripts/Generic/NPCModule"
- dofile ("SpawnScripts/Generic/MonsterCallouts/BaseRatonga1.lua")
- function spawn(NPC, Spawn)
- NPCModule(NPC, Spawn)
- ratonga(NPC, Spawn)
- class(NPC)
- IdleSneaky(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function class(NPC,Spawn)
- local class = MakeRandomInt(1,3)
- if class == 1 then
- SpawnSet(NPC, "class", 1 )
- SetSpellList(NPC, 291)
- elseif class == 2 then
- SpawnSet(NPC, "class", 11)
- SetSpellList(NPC, 297)
- elseif class == 3 then
- SpawnSet(NPC, "class", 31)
- SetSpellList(NPC, 294)
- end
- end
|