kts.GetMonsterCount

Name

kts.GetMonsterCount – count how many monsters of a given type are currently in the dungeon

Synopsis

result = kts.GetMonsterCount(monster_type)

Description

Given a MonsterType, returns the number of monsters of that type that currently exist in the dungeon.

Return Value

A number (non-negative integer) is returned.

Errors

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

See Also

kts.GetMonsterLimit

kts.LimitMonster

kts.MonsterType