My spleen use: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle No edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:name|my_spleen_use}} | {{ | ||
{{#vardefine:return_type|int}} | #vardefine:name|my_spleen_use}}{{ | ||
#vardefine:return_type|int}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function_category=Your Character| | function_category=Your Character| |
Revision as of 20:12, 8 March 2010
Function Syntax
int my_spleen_use()
Returns the number of spleen hits your character has taken this KoL day.
Code Sample
Buy and use twinkly wads as many times as possible.
while (my_spleen_use() < spleen_limit()) {
retrieve_item(1 , $item[twinkly wad]);
use(1 , $item[twinkly wad]);
}
See Also