v0.9.2b: fixed attacking corrupted enemies always giving cleave effect
This commit is contained in:
@@ -86,8 +86,7 @@ public class Combo extends Buff implements ActionIndicator.Action {
|
|||||||
count++;
|
count++;
|
||||||
comboTime = 5f;
|
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 && enemy.HP == enemy.HT)){
|
||||||
if (!enemy.isAlive() || enemy.buff(Corruption.class) != null){
|
|
||||||
comboTime = Math.max(comboTime, 10*((Hero)target).pointsInTalent(Talent.CLEAVE));
|
comboTime = Math.max(comboTime, 10*((Hero)target).pointsInTalent(Talent.CLEAVE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user