pub(super) struct DamageSetup {Show 15 fields
pub(super) base: f64,
pub(super) armor: f64,
pub(super) armor_k: f64,
pub(super) combined_mult: f64,
pub(super) target_damage_mult: f64,
pub(super) power_coefficient_add: f64,
pub(super) auto_combined_mult: f64,
pub(super) auto_attack_buff_mult: f64,
pub(super) mastery_mult: f64,
pub(super) crit_pct_total: f64,
pub(super) crit_multiplier: f64,
pub(super) vers_pct_total: f64,
pub(super) school: DamageSchool,
pub(super) is_physical: bool,
pub(super) aoe: DamageProfileAoe,
}Fields§
§base: f64§armor: f64§armor_k: f64§combined_mult: f64§target_damage_mult: f64§power_coefficient_add: f64§auto_combined_mult: f64§auto_attack_buff_mult: f64§mastery_mult: f64§crit_pct_total: f64§crit_multiplier: f64§vers_pct_total: f64§school: DamageSchool§is_physical: bool§aoe: DamageProfileAoeImplementations§
Source§impl DamageSetup
impl DamageSetup
pub(super) fn from_snapshot_for( context: SnapshotDamageContext<'_>, binding: DamageRequestBinding, effect: DamageEffectRef, flags: DamageFlags, snap: &DamageSnapshot, ) -> Self
Trait Implementations§
Source§impl Clone for DamageSetup
impl Clone for DamageSetup
Source§fn clone(&self) -> DamageSetup
fn clone(&self) -> DamageSetup
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 DamageSetup
impl Debug for DamageSetup
impl Copy for DamageSetup
Auto Trait Implementations§
impl Freeze for DamageSetup
impl RefUnwindSafe for DamageSetup
impl Send for DamageSetup
impl Sync for DamageSetup
impl Unpin for DamageSetup
impl UnsafeUnpin for DamageSetup
impl UnwindSafe for DamageSetup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more