v2.3.0: fixed berserker able to rage with seal buff but no seal equipped
This commit is contained in:
+1
-1
@@ -266,7 +266,7 @@ public class Berserk extends Buff implements ActionIndicator.Action {
|
|||||||
@Override
|
@Override
|
||||||
public void doAction() {
|
public void doAction() {
|
||||||
WarriorShield shield = target.buff(WarriorShield.class);
|
WarriorShield shield = target.buff(WarriorShield.class);
|
||||||
if (shield != null) {
|
if (shield != null && shield.maxShield() > 0) {
|
||||||
startBerserking();
|
startBerserking();
|
||||||
ActionIndicator.clearAction(this);
|
ActionIndicator.clearAction(this);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user