402 B
402 B
Function: IsHeroic(spawn)
Description: Return's true if Spawn is heroic.
Parameters:
spawn
(Spawn) - Spawn object representingspawn
.
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