mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
34 lines
No EOL
745 B
Lua
34 lines
No EOL
745 B
Lua
--[[
|
|
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 |