diff --git a/client/src/components/game.construct.anim.text.jsx b/client/src/components/game.construct.anim.text.jsx index e8ac9de9..1311d744 100644 --- a/client/src/components/game.construct.anim.text.jsx +++ b/client/src/components/game.construct.anim.text.jsx @@ -56,7 +56,7 @@ class AnimText extends preact.Component { } if (type === 'Healing') { const { amount, overhealing, colour } = event; - return

{amount} ({overhealing}OH)

; + return

{amount} ({overhealing} OH)

; } if (type === 'Inversion') return

INVERT

; if (type === 'Reflection') return

REFLECT

; diff --git a/core/src/skill.rs b/core/src/skill.rs index dd3eba6a..792038cc 100644 --- a/core/src/skill.rs +++ b/core/src/skill.rs @@ -354,6 +354,11 @@ impl Cast { ], Skill::Decay => vec![ + Action::Damage { + construct: self.target, + colour: Colour::Blue, + values: vec![Value::Stat { construct: self.source, stat: Stat::BluePower, mult: self.skill.multiplier() }], + }, Action::Effect { construct: self.target, effect: ConstructEffect { effect: Effect::Wither, duration: 3, meta: Some(EffectMeta::Multiplier(50)) }, @@ -367,13 +372,13 @@ impl Cast { construct: self.target, effect: ConstructEffect { effect: Effect::Decayed, duration: 1, meta: None }, // immunity to additional ticks }, + ], + Skill::DecayPlus => vec![ Action::Damage { construct: self.target, colour: Colour::Blue, values: vec![Value::Stat { construct: self.source, stat: Stat::BluePower, mult: self.skill.multiplier() }], }, - ], - Skill::DecayPlus => vec![ Action::Effect { construct: self.target, effect: ConstructEffect { effect: Effect::Wither, duration: 3, meta: Some(EffectMeta::Multiplier(35)) }, @@ -387,13 +392,13 @@ impl Cast { construct: self.target, effect: ConstructEffect { effect: Effect::Decayed, duration: 1, meta: None }, // immunity to additional ticks }, + ], + Skill::DecayPlusPlus => vec![ Action::Damage { construct: self.target, colour: Colour::Blue, values: vec![Value::Stat { construct: self.source, stat: Stat::BluePower, mult: self.skill.multiplier() }], }, - ], - Skill::DecayPlusPlus => vec![ Action::Effect { construct: self.target, effect: ConstructEffect { effect: Effect::Wither, duration: 4, meta: Some(EffectMeta::Multiplier(20)) }, @@ -407,11 +412,6 @@ impl Cast { construct: self.target, effect: ConstructEffect { effect: Effect::Decayed, duration: 1, meta: None }, // immunity to additional ticks }, - Action::Damage { - construct: self.target, - colour: Colour::Blue, - values: vec![Value::Stat { construct: self.source, stat: Stat::BluePower, mult: self.skill.multiplier() }], - }, ], Skill::DecayTick | Skill::DecayTickPlus |