Last monster

From Kolmafia
Revision as of 04:12, 6 May 2010 by imported>Bale (Created page with '{{ #vardefine:name|last_monster}}{{ #vardefine:return_type|monster}}{{ FunctionPage| name={{#var:name}}| function_category=Adventuring| function1={{Function| name={{#var:name}}…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

monster last_monster()

Returns last monster encountered.

See Also

get_monsters() | appearance_rates()

Special

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.