Lua API Reference: Merc (30 methods)
Browse the complete Lua API documentation for the Merc class. Search through 30 methods and 247 events to find the exact function signatures, parameters, and usage examples you need for your EQ-Emulator scripts.
Methods
merc:GetCostFormula()
# uint32
merc:GetGroup()
# Lua_Group
merc:GetHatedCount()
# int
merc:GetMaxMeleeRangeToTarget(target)
# float
merc:GetMercenaryCharacterID()
# uint32
merc:GetMercenaryID()
# uint32
merc:GetMercenaryNameType()
# uint32
merc:GetMercenaryOwner()
# Lua_Client
merc:GetMercenarySubtype()
# uint32
merc:GetMercenaryTemplateID()
# uint32
merc:GetMercenaryType()
# uint32
merc:GetOwner()
# Lua_Mob
merc:GetOwnerOrSelf()
# Lua_Mob
merc:GetProficiencyID()
# uint8
merc:GetStance()
# uint8
merc:GetTierID()
# uint8
merc:HasOrMayGetAggro()
# bool
merc:IsMercenaryCaster()
# bool
merc:IsMercenaryCasterCombatRange(target)
# bool
merc:IsSitting()
# bool
merc:IsStanding()
# bool
merc:ScaleStats(scale_percentage)
# void
merc:ScaleStats(scale_percentage, set_to_max)
# void
merc:SendPayload(payload_id, payload_value)
# void
merc:SetTarget(target)
# void
merc:Signal(signal_id)
# void
merc:Sit()
# void
merc:Stand()
# void
merc:Suspend()
# bool
merc:UseDiscipline(spell_id, target_id)
# bool