pub struct CombatStats {Show 18 fields
pub attack_power: f64,
pub spell_power: f64,
pub crit_chance: f64,
pub haste: f64,
pub mastery: f64,
pub versatility: f64,
pub leech: f64,
pub crit_damage_bonus: f64,
pub armor: f64,
pub stamina: f64,
pub intellect: f64,
pub agility: f64,
pub strength: f64,
pub positive_strength_bonus: f64,
pub positive_agility_bonus: f64,
pub positive_stamina_bonus: f64,
pub positive_intellect_bonus: f64,
pub primary_stat_mult: f64,
}Expand description
Primary and secondary combat stats; secondary/tertiary stats are percent points (25.0 == 25%), not fractions.
Fields§
§attack_power: f64§spell_power: f64§crit_chance: f64§haste: f64§mastery: f64§versatility: f64§leech: f64§crit_damage_bonus: f64§armor: f64§stamina: f64§intellect: f64§agility: f64§strength: f64§positive_strength_bonus: f64Positive non-create strength included in strength.
positive_agility_bonus: f64Positive non-create agility included in agility.
positive_stamina_bonus: f64Positive non-create stamina included in stamina.
positive_intellect_bonus: f64Positive non-create intellect included in intellect.
primary_stat_mult: f64Implementations§
Source§impl CombatStats
impl CombatStats
Trait Implementations§
Source§impl Clone for CombatStats
impl Clone for CombatStats
Source§fn clone(&self) -> CombatStats
fn clone(&self) -> CombatStats
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 CombatStats
impl Debug for CombatStats
Source§impl Default for CombatStats
impl Default for CombatStats
Auto Trait Implementations§
impl Freeze for CombatStats
impl RefUnwindSafe for CombatStats
impl Send for CombatStats
impl Sync for CombatStats
impl Unpin for CombatStats
impl UnsafeUnpin for CombatStats
impl UnwindSafe for CombatStats
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