My buffedstat

From Kolmafia
Revision as of 05:50, 30 January 2009 by imported>Zarqon (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.