v1.4.0: fixed berserk buff not always clearing at 0 shielding
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ public class Berserk extends Buff implements ActionIndicator.Action {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean act() {
|
public boolean act() {
|
||||||
if (berserking()){
|
if (state == State.BERSERK){
|
||||||
ShieldBuff buff = target.buff(WarriorShield.class);
|
ShieldBuff buff = target.buff(WarriorShield.class);
|
||||||
if (target.shielding() > 0) {
|
if (target.shielding() > 0) {
|
||||||
//lose 2.5% of shielding per turn, but no less than 1
|
//lose 2.5% of shielding per turn, but no less than 1
|
||||||
|
|||||||
Reference in New Issue
Block a user