Difference between revisions of "Stat"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
imported>Aventuristo
(Add to Data Types category)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[Datatype_Constants#.24stat.5Bconstant.5D]]
+
{{DISPLAYTITLE:stat}}
 +
 
 +
Data type which represents a player's stats.  Besides $stat[ none ], there are
 +
six possible values for this datatype (the last three are for referencing sub-stats).
 +
 
 +
* muscle
 +
* mysticality
 +
* moxie
 +
* submuscle
 +
* submysticality
 +
* submoxie
 +
 
 +
==Related Functions==
 +
 
 +
{{Flink|int|buffed_hit_stat}}
 +
{{Flink|stat|current_hit_stat}}
 +
{{Flink|int|my_basestat|stat}}
 +
{{Flink|int|my_buffedstat|stat}}
 +
{{Flink|stat|my_primestat}}
 +
{{Flink|void|refresh_status}}
 +
{{Flink|stat|stat_bonus_today}}
 +
{{Flink|stat|stat_bonus_tomorrow}}
 +
{{Flink|stat|stat_modifier|effect|string}}
 +
{{Flink|stat|to_stat|string}}
 +
{{Flink|stat|weapon_type|item}}
 +
 
 +
==Proxy Record Fields==
 +
 
 +
stat has no proxy record fields.
 +
 
 +
[[Category:Scripting]] [[Category:Data Types]]

Latest revision as of 00:50, 30 September 2017


Data type which represents a player's stats. Besides $stat[ none ], there are six possible values for this datatype (the last three are for referencing sub-stats).

  • muscle
  • mysticality
  • moxie
  • submuscle
  • submysticality
  • submoxie

Related Functions

int buffed_hit_stat()

stat current_hit_stat()

int my_basestat( stat )

int my_buffedstat( stat )

stat my_primestat()

void refresh_status()

stat stat_bonus_today()

stat stat_bonus_tomorrow()

stat stat_modifier( effect, string )

stat to_stat( string )

stat weapon_type( item )


Proxy Record Fields

stat has no proxy record fields.