Last monster

From Kolmafia
Revision as of 22:20, 21 May 2010 by imported>Bale
(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.