From 634d16fa797c369d8b9b60c4e4601c24743f2eeb Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 20 Mar 2021 12:48:06 -0400 Subject: [PATCH] v0.9.2b: fixed attacking corrupted enemies always giving cleave effect --- .../shatteredpixeldungeon/actors/buffs/Combo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java index f1cfa0dde..bda3d0e86 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java @@ -86,8 +86,7 @@ public class Combo extends Buff implements ActionIndicator.Action { count++; comboTime = 5f; - //TODO this won't count a kill on an enemy that gets corruped by corrupting I think? - if (!enemy.isAlive() || enemy.buff(Corruption.class) != null){ + if (!enemy.isAlive() || (enemy.buff(Corruption.class) != null && enemy.HP == enemy.HT)){ comboTime = Math.max(comboTime, 10*((Hero)target).pointsInTalent(Talent.CLEAVE)); }