mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
33 lines
No EOL
868 B
Lua
Executable file
33 lines
No EOL
868 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/Antonica/atidewalkerbehemoth.lua
|
|
Script Author : LordPazuzu
|
|
Script Date : 2022.07.22 08:07:21
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
dofile("SpawnScripts/Generic/CatalogueQuestUpdates.lua")
|
|
require "SpawnScripts/Generic/NPCModule"
|
|
|
|
function spawn(NPC, Spawn)
|
|
dmgMod = GetStr(NPC)/10
|
|
SetInfoStructUInt(NPC, "override_primary_weapon", 1)
|
|
SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(65 + dmgMod))
|
|
SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(105 + dmgMod))
|
|
RandomMovement(NPC, Spawn, 12, -12, 2, 8, 15)
|
|
end
|
|
|
|
function respawn(NPC, Spawn)
|
|
spawn(NPC)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |