Lua functions

SummonDumbFirePet

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

Historical signature: SummonDumbFirePet(spawn, target, pet_id, x, y, z)

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

Function: SummonDumbFirePet(spawn, target, pet_id, x, y, z)

Description: Summon a dumbfire pet with the pet_id (spawn database id).

Parameters:

  • spawn (Spawn) - Spawn object reference spawn.
  • target (Spawn) - Spawn object representing target.
  • pet_id (uint32) - Integer value pet_id.
  • x (float) - Float value x.
  • y (float) - Float value y.
  • z (float) - Float value z.

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.

SummonDumbFirePet(Caster, Target, PetID, x, y, z)

Evidence: server/Spells/Mage/Sorcerer/Warlock/AcidStorm.lua:14; binding EQ2Emu_lua_SummonDumbFirePet.

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