mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
27 lines
No EOL
578 B
Lua
27 lines
No EOL
578 B
Lua
--[[
|
|
Script Name : SpawnScripts/Commonlands/asandmonitor.lua
|
|
Script Author : LordPazuzu
|
|
Script Date : 2024.02.18 08:02:19
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
require "SpawnScripts/Generic/NPCModule"
|
|
|
|
function spawn(NPC, Spawn)
|
|
NPCModule(NPC, Spawn)
|
|
AddTimer(NPC, 1500, "movement")
|
|
end
|
|
|
|
function movement(NPC, Spawn)
|
|
if IsHeroic(NPC) == false then
|
|
RandomMovement(NPC, Spawn, 12, -12, 2, 8, 15)
|
|
end
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |