12345678910111213141516171819202122232425262728293031323334353637 |
- --[[
- Script Name : SpawnScripts/TheThievesWay_Classic/aDarkbladefuryTest.lua
- Script Author : LordPazuzu
- Script Date : 2023.12.11 06:12:06
- Script Purpose :
- :
- --]]
- require "SpawnScripts/Generic/NPCModule"
- function spawn(NPC, Spawn)
- NPCModule(NPC, Spawn)
- human(NPC,Spawn)
- class(NPC)
- SpawnSet(NPC, id, 8430008)
- 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
|