eq2emu-content/SpawnScripts/Generic/SparringPartnersGFay.lua
2024-10-26 11:37:28 +00:00

28 lines
858 B
Lua
Executable file

--[[
Script Name : SpawnScripts/GreaterFaydark/aformidablesparringpartner.lua
Script Purpose : a formidable sparring partner
Script Author : John Adams
Script Date : 2009.02.05
Script Notes : Auto-Generated Conversation from PacketParser Data
--]]
function spawn(NPC)
SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
end
function respawn(NPC)
spawn(NPC)
end
function InRange(NPC, Spawn)
end
function LeaveRange(NPC, Spawn)
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
PlayFlavor(NPC, "", "You can attack me whenever you're ready. You can do that by double-clicking me, by right clicking me and selecting \"attack,\" by using an offensive ability while you have me targeted, or by turning on auto attack by pressing the ~ key while you have me targeted.", "", 1689589577, 4560189, Spawn)
end