v0.9.0a: Prevented cases where warrior shield wouldn't reset
This commit is contained in:
parent
e3c67d62ff
commit
d5a45a099f
|
@ -53,7 +53,7 @@ public abstract class ShieldBuff extends Buff {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setShield( int shield, float delay ) {
|
public void setShield( int shield, float delay ) {
|
||||||
if (this.shielding <= shield) this.shielding = shield;
|
this.shielding = shield;
|
||||||
if (target != null) target.needsShieldUpdate = true;
|
if (target != null) target.needsShieldUpdate = true;
|
||||||
spend(delay);
|
spend(delay);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user