Effect

Enum Effect 

Source
pub enum Effect {
    Normal = 0,
    Blood = 1,
    Fire = 2,
    Ice = 3,
    Reflect = 4,
    Reflects = 5,
    FireNoReburn = 20,
    FireBreath = 21,
    FireExplode = 22,
    PowerExplode = 23,
    Icicle = 30,
}
Expand description

Itr effect variants.

See https://lf-empire.de/en/lf2-empire/data-changing/reference-pages/181-effects

Variants§

§

Normal = 0

Normal, weapons fly away.

  • Sound: 001/006.wav.
  • Effect: Normal, weapons fly away.
  • Examples: Regular attacks.
  • **itrs **without any effect act like this.
§

Blood = 1

Blood, weapons fly away.

  • Sound: 032/033.wav.
  • Effect: Blood, weapons fly away.
  • Examples: Deep’s sword attacks.
§

Fire = 2

Fire, can hit burning characters, weapons fly away.

  • Sound: 070/071.wav.
  • Effect: Fire, can hit burning characters, weapons fly away.
  • Examples: Firen’s Firerun.
§

Ice = 3

Ice, can hit frozen characters, weapons fly away.

  • Sound: 065/066.wav.
  • Effect: Ice, can hit frozen characters, weapons fly away.
  • Examples: Ice Ball.
§

Reflect = 4

Reflect all flying attacks with state: 3000, weapons fly away, has no influence on other characters.

  • Sound: weapon_hit_sound.
  • Effect: Reflect all flying attacks with state: 3000, weapons fly away, has no influence on other characters.
  • Examples: “Shrafe” Attacks.
§

Reflects = 5

Reflects all flying attacks with state: 3000, weapons fly away, characters are hit without sound.

  • Sound: [no Sound].
  • Effect: Reflects all flying attacks with state: 3000, weapons. fly away, characters are hit without sound.
  • Examples: [Never used].
§

FireNoReburn = 20

Fire, burning characters are immune to effect: 20/21, weapons don’t fly away.

  • Sound: 070/071.wav.
  • Effect: Fire, burning characters are immune to effect 20/21, weapons don’t fly away.
  • Examples: “Fire” frames, Firen’s Ground-Fire.
§

FireBreath = 21

Fire, burning characters are immune to effect 20/21, weapons fly away, will not hit teammates when combined with state: 18.

  • Sound: 070/071.wav.
  • Effect: Fire, burning characters are immune to effect 20/21, weapons fly away, will not hit teammates when combined with state: 18.
  • Examples: Firen’s Inferno.
§

FireExplode = 22

Fire, can hit burning characters, weapons fly away, a positive dvx goes to the middle, will not hit teammates when combined with state: 18.

  • Sound: 070/071.wav.
  • Effect: Fire, can hit burning characters, weapons fly away, a. positive dvx goes to the middle, will not hit teammates when combined with state: 18
  • Examples: Firen’s Explosion.
§

PowerExplode = 23

Normal, character is hurtable, weapons fly away, a positive dvx goes to the middle.

  • Sound: 070/071.wav.
  • Effect: Normal, character is hurtable, weapons fly away, a. positive dvx goes to the middle
  • Examples: Julian’s Explosion.
§

Icicle = 30

Ice, frozen characters are immune to effect: 30, weapons fly away.

  • Sound: 065.wav.
  • Effect: Ice, frozen characters are immune to effect: 30, weapons. fly away.
  • Examples: Freeze Icicle.

Trait Implementations§

Source§

impl Clone for Effect

Source§

fn clone(&self) -> Effect

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Effect

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Effect

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl FromStr for Effect

Source§

type Err = EffectParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Effect, EffectParseError>

Parses a string s to return a value of this type. Read more
Source§

impl PartialEq for Effect

Source§

fn eq(&self, other: &Effect) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Effect

Source§

impl Eq for Effect

Source§

impl StructuralPartialEq for Effect

Auto Trait Implementations§

§

impl Freeze for Effect

§

impl RefUnwindSafe for Effect

§

impl Send for Effect

§

impl Sync for Effect

§

impl Unpin for Effect

§

impl UnwindSafe for Effect

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.