[][src]Enum evtclib::gamedata::CmTrigger

pub enum CmTrigger {
    None,
    Unknown,
    Always,
    HpThreshold(u32),
    BuffPresent(u32),
    TimeBetweenBuffs(u32u64),
}

The trigger of how a boss challenge mote (CM) is determined.

Variants

None

The boss does not have a CM available.

Unknown

The boss has a CM available but we cannot determine if it has been activated.

Always

Logs from this boss always count as having the CM active.

HpThreshold(u32)

The CM is determined by the boss's health being at or above the given threshold.

This works since most bosses increase their HP pool in the CM variant.

BuffPresent(u32)

The CM is active if the given buff is present in the log.

The buff can be either on player or the enemy.

TimeBetweenBuffs(u32u64)

The time between buff applications falls below the given threshold.

The first number is the buff id, the second number is the time threshold in milliseconds.

Trait Implementations

impl Clone for CmTrigger[src]

impl Copy for CmTrigger[src]

impl Debug for CmTrigger[src]

impl Eq for CmTrigger[src]

impl Hash for CmTrigger[src]

impl PartialEq<CmTrigger> for CmTrigger[src]

impl StructuralEq for CmTrigger[src]

impl StructuralPartialEq for CmTrigger[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.