diff --git a/src/shattered_sword/Player/PlayerController.ts b/src/shattered_sword/Player/PlayerController.ts index 902c3e5..33253c7 100644 --- a/src/shattered_sword/Player/PlayerController.ts +++ b/src/shattered_sword/Player/PlayerController.ts @@ -259,7 +259,6 @@ export default class PlayerController extends StateMachineAI implements BattlerA this.bleedTimer.start(); this.damage( 2 + Math.round(this.CURRENT_HP/50) ); } - } @@ -318,7 +317,7 @@ export default class PlayerController extends StateMachineAI implements BattlerA * @param shield amount of shield to add to player */ addShield(shield : number){ - this.CURRENT_SHIELD = (this.CURRENT_SHIELD + shield) % this.MAX_SHIELD; + this.CURRENT_SHIELD += shield; } /**