v2.3.0: fixed berserker able to rage with seal buff but no seal equipped

This commit is contained in:
Evan Debenham
2023-11-21 11:09:20 -05:00
parent f0c4e6be0c
commit e58bd78e00

View File

@@ -266,7 +266,7 @@ public class Berserk extends Buff implements ActionIndicator.Action {
@Override
public void doAction() {
WarriorShield shield = target.buff(WarriorShield.class);
if (shield != null) {
if (shield != null && shield.maxShield() > 0) {
startBerserking();
ActionIndicator.clearAction(this);
} else {