SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
spelleffect_data_t Struct Reference
Inheritance diagram for spelleffect_data_t:
spelleffect_data_nil_t

Public Member Functions

bool ok () const
 
unsigned id () const
 
unsigned index () const
 
unsigned spell_id () const
 
unsigned spell_effect_num () const
 
effect_type_t type () const
 
unsigned raw_type () const
 
effect_subtype_t subtype () const
 
unsigned raw_subtype () const
 
property_type_t property_type () const
 
double base_value () const
 
double percent () const
 
timespan_t time_value () const
 
resource_e resource_gain_type () const
 
double resource_multiplier (resource_e resource_type) const
 
double resource (resource_e resource_type) const
 
double resource () const
 
school_e school_type () const
 
bool has_common_school (school_e) const
 
double mastery_value () const
 
int misc_value1 () const
 
int misc_value2 () const
 
unsigned trigger_spell_id () const
 
double chain_multiplier () const
 
double m_coefficient () const
 
double m_delta () const
 
double m_unk () const
 
double sp_coeff () const
 
double ap_coeff () const
 
double pvp_coeff () const
 
timespan_t period () const
 
double radius () const
 
double radius_max () const
 
double pp_combo_points () const
 
double real_ppl () const
 
unsigned mechanic () const
 
int chain_target () const
 
unsigned target_1 () const
 
unsigned target_2 () const
 
double m_value () const
 
bool class_flag (unsigned flag) const
 
unsigned class_flags (unsigned idx) const
 
player_e scaling_class () const
 
double average (const player_t *p, unsigned level=0) const
 
double delta (const player_t *p, unsigned level=0) const
 
double bonus (const player_t *p, unsigned level=0) const
 
double min (const player_t *p, unsigned level=0) const
 
double max (const player_t *p, unsigned level=0) const
 
double average (const item_t *item) const
 
double delta (const item_t *item) const
 
double min (const item_t *item) const
 
double max (const item_t *item) const
 
double average (const item_t &item) const
 
double delta (const item_t &item) const
 
double min (const item_t &item) const
 
double max (const item_t &item) const
 
bool override_field (util::string_view field, double value)
 
double get_field (util::string_view field) const
 
const spell_data_tspell () const
 
const spell_data_ttrigger () const
 
double default_multiplier () const
 
double default_value () const
 
unsigned affected_schools () const
 

Static Public Member Functions

static const spelleffect_data_tnil ()
 
static const spelleffect_data_tfind (unsigned, bool ptr=false)
 
static util::span< const spelleffect_data_tdata (bool ptr=false)
 
static util::span< const hotfix::client_hotfix_entry_thotfixes (const spelleffect_data_t &, bool ptr)
 
static void link (bool ptr=false)
 

Public Attributes

unsigned _id
 
unsigned _spell_id
 
unsigned _index
 
unsigned _type
 
unsigned _subtype
 
int _scaling_type
 
double _m_coeff
 
double _m_delta
 
double _m_unk
 
double _sp_coeff
 
double _ap_coeff
 
double _amplitude
 
double _radius
 
double _radius_max
 
double _base_value
 
int _misc_value
 
int _misc_value_2
 
unsigned _class_flags [NUM_CLASS_FAMILY_FLAGS]
 
unsigned _trigger_spell_id
 
double _m_chain
 
double _pp_combo_points
 
double _real_ppl
 
unsigned _mechanic
 
int _chain_target
 
unsigned _targeting_1
 
unsigned _targeting_2
 
double _m_value
 
double _pvp_coeff
 
const spell_data_t_spell
 
const spell_data_t_trigger_spell