Difference between revisions of "My buffedstat"
Jump to navigation
Jump to search
imported>Zarqon (created page) |
imported>Zarqon m (oops... more links) |
||
Line 6: | Line 6: | ||
<code> | <code> | ||
− | print("My buffed muscle: " + my_buffedstat($stat[muscle])); | + | [[print()|print]]("My buffed muscle: " + [[my_buffedstat()|my_buffedstat]]($[[stat]][muscle])); |
− | print("My buffed moxie: " + my_buffedstat($stat[moxie])); | + | [[print()|print]]("My buffed moxie: " + [[my_buffedstat()|my_buffedstat]]($[[stat]][moxie])); |
− | print("My buffed muscle: " + my_buffedstat($stat[muscle])); | + | [[print()|print]]("My buffed muscle: " + [[my_buffedstat()|my_buffedstat]]($[[stat]][muscle])); |
</code> | </code> | ||
[[Category:Your Character | My buffedstat()]] | [[Category:Your Character | My buffedstat()]] |
Revision as of 05:51, 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.