My buffedstat

From Kolmafia
Revision as of 12:54, 1 March 2010 by imported>Grotfang (moved My buffedstat() to My buffedstat: Conformity)
Jump to navigation Jump to search

int my_buffedstat( stat st )

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

Passing $stat[submuscle], $stat[submysticality], or $stat[submoxie] to this function will always return 0.

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.