My buffedstat: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
Zarqon (talk | contribs)
created page
(No difference)

Revision as of 05:50, 30 January 2009

int my_buffedstat( stat st )

Returns your current buffed value in the specified stat as an int.

This example prints your current buffed stats:

 print("My buffed muscle: " + my_buffedstat($stat[muscle]));
 print("My buffed moxie: " + my_buffedstat($stat[moxie]));
 print("My buffed muscle: " + my_buffedstat($stat[muscle]));

When not logged in, this function returns 0 regardless of parameter.