This commit is contained in:
ntr 2019-05-22 14:18:50 +10:00
parent f5b9cd2662
commit 17d692b8da

View File

@ -409,7 +409,7 @@ impl Effect {
Effect::Banish => true,
Effect::Strangle => true,
Effect::Strangling => skill != Skill::StrangleTick,
Effect::Silence => skill.components().contains(Item::Blue),
Effect::Silence => skill.components().contains(&Item::Blue),
Effect::Snare => match skill.category() {
Category::Blue => false,
Category::Red => true,
@ -1237,7 +1237,7 @@ fn decay(source: &mut Cryp, target: &mut Cryp, mut results: Resolutions, skill:
results.push(Resolution::new(source, target).event(target.add_effect(skill, decay)));
results.push(apply_modifier(skill, source, target));
return decay_tick(source, target, results, Skill::DecayTick);
}