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: AoeConfig,
}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: AoeConfigImplementations§
Source§impl DamageSetup
impl DamageSetup
pub(super) fn from_snapshot_for( context: SnapshotDamageContext<'_>, effect: DamageEffectRef, flags: DamageFlags, snap: &DamageSnapshot, ) -> Self
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
§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