v0.6.0: fixed berserk buff not interacting correctly with blessed ankhs

This commit is contained in:
Evan Debenham 2017-03-07 16:03:43 -05:00
parent e42697007b
commit a7b3e4ca54
2 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,7 @@ public class Berserk extends Buff {
}
return state == State.BERSERK && target.SHLD > 0;
return state == State.BERSERK;
}
public void recover(float percent){

View File

@ -1403,7 +1403,8 @@ public class Hero extends Char {
public boolean isAlive() {
if (subClass == HeroSubClass.BERSERKER
&& berserk != null
&& berserk.berserking()){
&& berserk.berserking()
&& SHLD > 0){
return true;
}
return super.isAlive();