Your Character: Difference between revisions
imported>Grotfang |
imported>StDoodle mNo edit summary |
||
Line 3: | Line 3: | ||
{{flink|string|my_name|desc=Returns your character's name in lowercase.}} | {{flink|string|my_name|desc=Returns your character's name in lowercase.}} | ||
{{flink|string|my_id|desc=Returns your character ID.}} | {{flink|string|my_id|desc=Returns your character ID.}} | ||
{{flink|class|my_class|desc=Returns your class. (''Sample'': [[ | {{flink|class|my_class|desc=Returns your class. (''Sample'': [[Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | ||
{{flink|int|my_level|desc=Returns your level. (''Sample'': [[ | {{flink|int|my_level|desc=Returns your level. (''Sample'': [[Code_Samples#Sample_2:_Battlefield_gather|Battlefield_gather]])}} | ||
{{flink|int|my_adventures|desc=Returns the number of adventures you have remaining. (''Sample'': [[ | {{flink|int|my_adventures|desc=Returns the number of adventures you have remaining. (''Sample'': [[Code_Samples#Sample_4:_Hedging|Hedging]]) | ||
}} | }} | ||
{{flink|int|my_turncount|desc=Returns the number of adventures used this ascension.}} | {{flink|int|my_turncount|desc=Returns the number of adventures used this ascension.}} | ||
Line 19: | Line 19: | ||
{{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== | ==Basic Stats== | ||
{{flink|stat|my_primestat|desc=Returns the main stat of your current class. (''Sample'': [[ | {{flink|stat|my_primestat|desc=Returns the main stat of your current class. (''Sample'': [[Code_Samples#Sample_1:_Seltzer|Seltzer]])}} | ||
{{flink|boolean|in_moxie_sign}} | {{flink|boolean|in_moxie_sign}} | ||
{{flink|boolean|in_muscle_sign}} | {{flink|boolean|in_muscle_sign}} |
Revision as of 20:37, 5 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()