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 08583373e..079f79761 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 @@ -410,10 +410,8 @@ public class Combo extends Buff implements ActionIndicator.Action { ch.sprite.bloodBurstA(target.sprite.center(), aoeHit); ch.sprite.flash(); - if (!ch.isAlive() - && hero.hasTalent(Talent.LETHAL_DEFENSE) - && hero.buff(BrokenSeal.WarriorShield.class) != null) { - hero.buff(BrokenSeal.WarriorShield.class).reduceCooldown(hero.pointsInTalent(Talent.LETHAL_DEFENSE)/3f); + if (!ch.isAlive() && hero.hasTalent(Talent.LETHAL_DEFENSE)) { + Buff.affect(hero, BrokenSeal.WarriorShield.class).reduceCooldown(hero.pointsInTalent(Talent.LETHAL_DEFENSE)/3f); } } } @@ -466,7 +464,7 @@ public class Combo extends Buff implements ActionIndicator.Action { if (!enemy.isAlive() || (!wasAlly && enemy.alignment == target.alignment)) { if (hero.hasTalent(Talent.LETHAL_DEFENSE)){ - hero.buff(BrokenSeal.WarriorShield.class).reduceCooldown(hero.pointsInTalent(Talent.LETHAL_DEFENSE)/3f); + Buff.affect(hero, BrokenSeal.WarriorShield.class).reduceCooldown(hero.pointsInTalent(Talent.LETHAL_DEFENSE)/3f); } }