My buffedstat: Difference between revisions
Jump to navigation
Jump to search
imported>Zarqon m oops... more links |
imported>Zarqon m substat info |
||
Line 2: | Line 2: | ||
Returns your current buffed value in the specified [[stat]] as an [[int]]. | 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: | This example prints your current buffed stats: |
Revision as of 05:53, 30 January 2009
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.