mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
418 B
418 B
Function: IsGroundSpawn(spawn)
Description: Return's true if the spawn is a ground spawn.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
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