kts.GetMonsterLimit

Name

kts.GetMonsterLimit – get max allowed number of monsters of a given type

Synopsis

result = kts.GetMonsterLimit(monster_type)

Description

Given a MonsterType, returns the maximum number of monsters of that type allowed in the dungeon at once, or nil if this monster type is currently unlimited.

Return Value

A number (non-negative integer), or nil, is returned.

Errors

If the input is not a valid MonsterType then an error is raised.

Notes

Monster limits are set by kts.LimitMonster.

See Also

kts.LimitMonster

kts.LimitTotalMonsters