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

402 B

Function: IsHeroic(spawn)

Description: Return's true if Spawn is heroic.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: True if Spawn is heroic otherwise False.

Example:

-- From SpawnScripts/Antonica/adankfurgnoll.lua
function waypoints(NPC)
    if IsHeroic(NPC) == false then
        RandomMovement(NPC, Spawn, 8, -8, 2, 8, 15)
    end