1
0
EQ2Emu/docs/lua_functions/IsGroundSpawn.md
2025-05-25 21:42:32 -04:00

418 B

Function: IsGroundSpawn(spawn)

Description: Return's true if the spawn is a ground spawn.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: True if the spawn is the Ground Spawn, otherwise False.

Example:

-- From Spells/Commoner/harvest.lua
function precast(Caster, Target)
    if IsGroundSpawn(Target) then
      return CanHarvest(Caster, Target)
    end