Is banished
Function Syntax
boolean is_banished(monster mob )
- mob is the monster to check
This function will return true if a specified monster is currently banished.
Code Samples
Is any monster at the current location banished?
foreach x, mob in get_monsters( my_location() )
if( is_banished(mob) )
print( "Banished Monster: " + mob );
CLI Equivalent
The CLI command "get banishedMonsters
" will display a list of all banished monsters, the banisher that was used and the turn they were banished. Unfortunately it does not tell you how long the banish lasted, so they might not still be banished.