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

Public Member Functions

resource_e resource () const
 
unsigned id () const
 
unsigned spell_id () const
 
unsigned aura_id () const
 
power_e type () const
 
int raw_type () const
 
double cost_divisor (bool percentage) const
 
double cost () const
 
double max_cost () const
 
double cost_per_tick () const
 
bool override_field (util::string_view field, double value)
 
double get_field (util::string_view field) const
 

Static Public Member Functions

static const spellpower_data_tnil ()
 
static const spellpower_data_tfind (unsigned id, bool ptr=false)
 
static util::span< const spellpower_data_tdata (bool ptr=false)
 
static util::span< const hotfix::client_hotfix_entry_thotfixes (const spellpower_data_t &, bool ptr)
 

Public Attributes

unsigned _id
 
unsigned _spell_id
 
unsigned _aura_id
 
int _power_type
 
int _cost
 
int _cost_max
 
int _cost_per_tick
 
double _pct_cost
 
double _pct_cost_max
 
double _pct_cost_per_tick