My buffedstat: Difference between revisions
Jump to navigation
Jump to search
imported>Zarqon m substat info |
imported>Grotfang m moved My buffedstat() to My buffedstat: Conformity |
(No difference)
|
Revision as of 12:54, 1 March 2010
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.