My spleen use

From Kolmafia
Jump to navigation Jump to search

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.

if (my_spleen_use() < spleen_limit()) {
   int qty = spleen_limit()-my_spleen_use();
   retrieve_item(qty , $item[twinkly wad]);
   use(qty, $item[twinkly wad]);
}

See Also

spleen_limit() | retrieve_item() | use()