Last monster

From Kolmafia
Jump to navigation Jump to search

Function Syntax

monster last_monster()

Returns last monster encountered.

See Also

get_monsters() | appearance_rates()


If no monster is specified and no monster has been fought in this session, this function returns $monster[none]. This is because mafia forgets the value when it logs out.