Lua functions

Resurrect

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

Historical signature: Resurrect(hp_perc, power_perc, send_window, target, heal_name, crit_mod, no_calcs, revive_spell_id, revive_spell_tier)

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

Function: Resurrect(hp_perc, power_perc, send_window, target, heal_name, crit_mod, no_calcs, revive_spell_id, revive_spell_tier)

Description: Resurrect the spell targets.

Parameters:

  • hp_perc (float) - Float value hp_perc.
  • power_perc (float) - Float value power_perc.
  • send_window (uint32) - Integer value send_window.
  • target (Spawn) - Spawn object representing target.
  • heal_name (string) - String heal_name.
  • crit_mod (uint32) - Integer value crit_mod.
  • no_calcs (uint32) - Integer value no_calcs.
  • revive_spell_id (uint32) - Integer value revive_spell_id.
  • revive_spell_tier (uint32) - Integer value revive_spell_tier.

Returns: None.

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.

Resurrect(15, 15, 1, nil, "", 0, 0, 5162, 1)

Evidence: server/Spells/Commoner/FavorofthePhoenix.lua:12; binding EQ2Emu_lua_Resurrect.

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