v0.9.0a: Prevented cases where warrior shield wouldn't reset

This commit is contained in:
Evan Debenham 2020-10-08 17:38:44 -04:00
parent e3c67d62ff
commit d5a45a099f

View File

@ -53,7 +53,7 @@ public abstract class ShieldBuff extends Buff {
}
public void setShield( int shield, float delay ) {
if (this.shielding <= shield) this.shielding = shield;
this.shielding = shield;
if (target != null) target.needsShieldUpdate = true;
spend(delay);
}