#[repr(u8)]pub enum Strike {
Show 13 variants
Normal = 0,
Crit = 1,
Glance = 2,
Block = 3,
Evade = 4,
Interrupt = 5,
Absorb = 6,
Blind = 7,
KillingBlow = 8,
Downed = 9,
Breakbar = 10,
Activation = 11,
Unknown(u8),
}
Expand description
Strike types.
Arc calls this “combat result”.
Variants§
Normal = 0
Normal damage strike.
No crit, no glance.
Crit = 1
Strike was critical.
Glance = 2
Strike was glancing.
Block = 3
Strike was blocked.
Due to Aegis, Chrono Shield 4 etc.
Evade = 4
Strike was evaded.
Due to dodge, Mesmer Sword 2 etc.
Interrupt = 5
Strike interrupted something.
Absorb = 6
Strike was absorbed.
Usually due to an invulnerability like Guardian Renewed Focus.
Blind = 7
Strike missed.
Due to blind etc.
KillingBlow = 8
Skill killed the target.
Not a damage strike.
Downed = 9
Skill downed the target.
Not a damage strike.
Breakbar = 10
Skill dealt breakbar damage.
Not a damage strike.
Activation = 11
On-activation event.
Not a damage strike.
Arc: Source hit target if damaging buff.
Unknown(u8)
Unknown.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Strike
impl<'de> Deserialize<'de> for Strike
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Strike, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Strike, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromPrimitive for Strike
impl FromPrimitive for Strike
type Primitive = u8
fn from_primitive(number: <Strike as FromPrimitive>::Primitive) -> Strike
source§impl Ord for Strike
impl Ord for Strike
source§impl PartialEq for Strike
impl PartialEq for Strike
source§impl PartialOrd for Strike
impl PartialOrd for Strike
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Strike
impl Serialize for Strike
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Strike
impl Eq for Strike
impl StructuralPartialEq for Strike
Auto Trait Implementations§
impl Freeze for Strike
impl RefUnwindSafe for Strike
impl Send for Strike
impl Sync for Strike
impl Unpin for Strike
impl UnwindSafe for Strike
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