Lua functions

GetWardAmountLeft

Registered in this checkout as EQ2Emu_lua_GetWardAmountLeft; implementation found at WorldServer/Lua/LuaFunctions.cpp:7306.

Historical signature: GetWardAmountLeft(spell)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: GetWardAmountLeft(spell)

Description: Get the ward value amount left on the spell.

Parameters:

  • spell (Spell) - Spell object representing spell.

Returns: UInt32 amount left on the ward.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

local heal = GetWardAmountLeft(Target)

Evidence: server/Spells/Priest/Shaman/EidolicWard.lua:27; binding EQ2Emu_lua_GetWardAmountLeft.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.