SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
gear_stats_t Struct Reference

Public Member Functions

void initialize (double initializer)
 
gear_stats_toperator+= (const gear_stats_t &right)
 
void add_stat (stat_e stat, double value)
 
void set_stat (stat_e stat, double value)
 
double get_stat (stat_e stat) const
 

Static Public Member Functions

static double stat_mod (stat_e stat)
 

Public Attributes

double default_value
 
std::array< double, ATTRIBUTE_MAX > attribute
 
std::array< double, RESOURCE_MAX > resource
 
double spell_power
 
double attack_power
 
double expertise_rating
 
double expertise_rating2
 
double hit_rating
 
double hit_rating2
 
double crit_rating
 
double haste_rating
 
double weapon_dps
 
double weapon_speed
 
double weapon_offhand_dps
 
double weapon_offhand_speed
 
double armor
 
double bonus_armor
 
double dodge_rating
 
double parry_rating
 
double block_rating
 
double mastery_rating
 
double resilience_rating
 
double pvp_power
 
double versatility_rating
 
double leech_rating
 
double speed_rating
 
double avoidance_rating
 
double corruption_rating
 
double corruption_resistance_rating
 

Friends

gear_stats_t operator+ (const gear_stats_t &left, const gear_stats_t &right)
 
void sc_format_to (const gear_stats_t &, fmt::format_context::iterator)