pub(crate) struct EffectValues {Show 24 fields
pub ap_coef: f64,
pub sp_coef: f64,
pub power_coefficient_mastery_add: f64,
pub base_points: f64,
pub amplitude: f64,
pub period: f64,
pub coefficient: f64,
pub radius: f64,
pub scaling_class: i32,
pub points_per_resource: f64,
pub chain_targets: i32,
pub chain_multiplier: f64,
pub misc_value_0: i32,
pub misc_value_1: i32,
pub shapeshift_form_flags: i32,
pub shapeshift_combat_round_time_ms: i32,
pub effect_type: i32,
pub effect_mechanic: i32,
pub effect_attributes: i32,
pub implicit_target_a: i32,
pub implicit_target_b: i32,
pub effect_aura: i32,
pub trigger_spell: i32,
pub class_mask: [i32; 4],
}Fields§
§ap_coef: f64§sp_coef: f64§power_coefficient_mastery_add: f64§base_points: f64§amplitude: f64§period: f64§coefficient: f64§radius: f64§scaling_class: i32Raw DBC scaling-class selector used to choose the matching GameTable budget.
points_per_resource: f64§chain_targets: i32§chain_multiplier: f64§misc_value_0: i32§misc_value_1: i32Secondary DBC effect discriminator; aura 218/219 stores its spell-label id here.
shapeshift_form_flags: i32§shapeshift_combat_round_time_ms: i32SpellShapeshiftForm.CombatRoundTime in milliseconds; the swing period a beast form imposes.
effect_type: i32DBC Effect kind id (2 = school damage, 6 = apply aura, 30 = energize, …).
effect_mechanic: i32Raw DBC EffectMechanic; zero means the effect inherits the spell mechanic.
effect_attributes: i32§implicit_target_a: i32§implicit_target_b: i32§effect_aura: i32DBC EffectAura kind id (29 = mod stat, 189 = mod rating, …); 0 for non-aura effects.
trigger_spell: i32§class_mask: [i32; 4]Trait Implementations§
Source§impl Clone for EffectValues
impl Clone for EffectValues
Source§fn clone(&self) -> EffectValues
fn clone(&self) -> EffectValues
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EffectValues
impl Debug for EffectValues
Source§impl Default for EffectValues
impl Default for EffectValues
Source§fn default() -> EffectValues
fn default() -> EffectValues
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EffectValues
impl RefUnwindSafe for EffectValues
impl Send for EffectValues
impl Sync for EffectValues
impl Unpin for EffectValues
impl UnsafeUnpin for EffectValues
impl UnwindSafe for EffectValues
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more