Enum rpgstat::types::Effect [−][src]
pub enum Effect {
Show 15 variants
None,
HP,
MP,
XP,
Burn,
Poison,
Freeze,
Sick,
Sap,
Bless,
Heal,
Stuck,
Bound,
Blocked,
Locked,
}Expand description
This enum defines our different types of attack/item/special effects
Variants
no effect aka a player or something else that should not have an effect, like a key
add or remove HP based on the attack/item/special’s HP
add or remove MP based on the attack/item/special’s MP
add or remove XP. enemies all have this effect
hp drain, very minor mp drain
minor hp drain, very minor mp drain, no movement
hp drain, minor mp drain
mp drain
hp add
Blocker/locker effects
no movement
no attack
no mana attack
a lock to prevent access
Implementations
Trait Implementations
type Iterator = EffectIter
fn iter() -> EffectIterⓘNotable traits for EffectIterimpl Iterator for EffectIter type Item = Effect;
Notable traits for EffectIter
impl Iterator for EffectIter type Item = Effect;Auto Trait Implementations
impl RefUnwindSafe for Effect
impl UnwindSafe for Effect
Blanket Implementations
Mutably borrows from an owned value. Read more