v0.6.0: fixed berserk buff not interacting correctly with blessed ankhs
This commit is contained in:
parent
e42697007b
commit
a7b3e4ca54
|
@ -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){
|
public void recover(float percent){
|
||||||
|
|
|
@ -1403,7 +1403,8 @@ public class Hero extends Char {
|
||||||
public boolean isAlive() {
|
public boolean isAlive() {
|
||||||
if (subClass == HeroSubClass.BERSERKER
|
if (subClass == HeroSubClass.BERSERKER
|
||||||
&& berserk != null
|
&& berserk != null
|
||||||
&& berserk.berserking()){
|
&& berserk.berserking()
|
||||||
|
&& SHLD > 0){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return super.isAlive();
|
return super.isAlive();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user