Difference between revisions of "Last monster"

From Kolmafia
Jump to navigation Jump to search
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}}…')
(No difference)

Revision as of 04:12, 6 May 2010

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.