Last monster: Difference between revisions
Jump to navigation
Jump to search
Created page with '{{ #vardefine:name|last_monster}}{{ #vardefine:return_type|monster}}{{ FunctionPage| name={{#var:name}}| function_category=Adventuring| function1={{Function| name={{#var:name}}…' |
mNo edit summary |
||
| Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
| Line 23: | Line 22: | ||
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.| | 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.| | ||
}} | }} | ||
[[Category:Adventuring]] | |||
Latest revision as of 22:20, 21 May 2010
needs(code_samples);
Function Syntax
monster last_monster()
Returns last monster encountered.
See Also
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.