Your Character: Difference between revisions
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
== | ==The Basics== | ||
<p>''We'll start with a long look in the mirror. Here's how to tell about you.''</p> | <p>''We'll start with a long look in the mirror. Here's how to tell about you.''</p> | ||
{{flink|string|my_name|desc=Returns your character's name in lowercase.}} | {{flink|string|my_name|desc=Returns your character's name in lowercase.}} | ||
Line 18: | Line 18: | ||
{{flink|boolean|can_interact|desc=Reports on whether your character can access the mall, gift packages, etc.}} | {{flink|boolean|can_interact|desc=Reports on whether your character can access the mall, gift packages, etc.}} | ||
{{flink|boolean|in_hardcore|desc=Reports on whether your character is under Hardcore restrictions.}} | {{flink|boolean|in_hardcore|desc=Reports on whether your character is under Hardcore restrictions.}} | ||
== | ==Basic Stats== | ||
{{flink|stat|my_primestat|desc=Returns the main stat of your current class. (''Sample'': [[%28ASHRM%29_Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | {{flink|stat|my_primestat|desc=Returns the main stat of your current class. (''Sample'': [[%28ASHRM%29_Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | ||
{{flink|boolean|in_moxie_sign}} | {{flink|boolean|in_moxie_sign}} | ||
Line 34: | Line 34: | ||
{{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== | ||
{{flink|stat|current_hit_stat|desc=Returns the stat currently used to calculate to-hit percentage.}} | |||
{{flink|int|buffed_hit_stat|desc=Returns the buffed value of your currently used to-hit stat.}} | |||
{{flink|int|raw_damage_absorption|desc=Returns your current DA total.}} | |||
{{flink|float|damage_absorption_percent|desc=Returns the percentage of damage mitigated by your DA.}} | |||
{{flink|float|elemental_resistance|element|desc=Returns the percentage of damage reduction to the given element based on your current resistance to that element.}} | |||
{{flink|float|combat_rate_modifier|desc=Returns the percentage adjustment to your combat rate.}} | |||
{{flink|float|initiative_modifier|desc=Returns the percentage adjustment to your chance of gaining initiative.}} | |||
{{flink|float|experience_bonus|desc=Returns the amount of bonus experience your receive after combat.}} | |||
{{flink|float|meat_drop_modifier|desc=Returns the percentage adjustment to meat drops after combat.}} | |||
{{flink|float|item_drop_modifier|desc=Returns the percentage adjustment to item drops after combat.}} | |||
{{flink|int|monster_level_adjustment|desc=Returns the total +ML you have active, including your sign-specific device.}} | |||
Revision as of 18:44, 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 my_basestat()
int my_buffedstat()
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()