Your Character: Difference between revisions
imported>StDoodle mNo edit summary |
imported>Grotfang |
||
Line 28: | Line 28: | ||
{{flink|int|my_maxhp|desc=Returns your current maximum HP.}} | {{flink|int|my_maxhp|desc=Returns your current maximum HP.}} | ||
{{flink|int|my_maxmp|desc=Returns your current maximum MP.}} | {{flink|int|my_maxmp|desc=Returns your current maximum MP.}} | ||
{{flink|int|my_basestat|desc=Returns your base value in the given stat (or substat).}} | {{flink|int|my_basestat|stat|desc=Returns your base value in the given stat (or substat).}} | ||
{{flink|int|my_buffedstat|desc=Returns your buffed value in the given stat (or substat).}} | {{flink|int|my_buffedstat|stat|desc=Returns your buffed value in the given stat (or substat).}} | ||
{{flink|int|current_mcd|desc=Returns the current setting of your sign-specific +ML device.}} | {{flink|int|current_mcd|desc=Returns the current setting of your sign-specific +ML device.}} | ||
{{flink|boolean|change_mcd|int|desc=Tries to set your +ML device to a specified setting and reports on success.}} | {{flink|boolean|change_mcd|int|desc=Tries to set your +ML device to a specified setting and reports on success.}} | ||
{{flink|stat|stat_bonus_today}} | {{flink|stat|stat_bonus_today}} | ||
{{flink|stat|stat_bonus_tomorrow|desc=These two functions report on what stat has a stat-day bonus or $stat[none] if it isn't a stat day.}} | {{flink|stat|stat_bonus_tomorrow|desc=These two functions report on what stat has a stat-day bonus or $stat[none] if it isn't a stat day.}} | ||
==More Advanced Stats== | ==More Advanced Stats== | ||
{{flink|stat|current_hit_stat|desc=Returns the stat currently used to calculate to-hit percentage.}} | {{flink|stat|current_hit_stat|desc=Returns the stat currently used to calculate to-hit percentage.}} |
Revision as of 22:54, 1 March 2010
The Basics
We'll start with a long look in the mirror. Here's how to tell about you.
string my_name()
string my_id()
class my_class()
int my_level()
int my_adventures()
int my_turncount()
int my_inebriety()
int my_spleen_use()
int spleen_limit()
int my_fullness()
int fullness_limit()
boolean can_eat()
boolean can_drink()
boolean can_interact()
boolean in_hardcore()
Basic Stats
stat my_primestat()
boolean in_moxie_sign()
boolean in_muscle_sign()
boolean in_mysticality_sign()
boolean in_bad_moon()
int my_hp()
int my_mp()
int my_maxhp()
int my_maxmp()
int current_mcd()
boolean change_mcd( int )
stat stat_bonus_today()
More Advanced Stats
stat current_hit_stat()
float damage_absorption_percent()
float elemental_resistance( element )
float combat_rate_modifier()
float initiative_modifier()
float experience_bonus()
float meat_drop_modifier()
float item_drop_modifier()
int monster_level_adjustment()