fix: remove maxshield

This commit is contained in:
Renge 2022-04-27 22:46:47 -04:00
parent 1e5aa43383
commit fa467fc3f5

View File

@ -469,7 +469,7 @@ export default class GameLevel extends Scene {
// this.healthLabel.sizeToText();
//update shield ui
this.shieldLabel.text = "Shield: "+ Math.round(playerAI.CURRENT_SHIELD) +'/' + Math.round(playerAI.MAX_SHIELD);
this.shieldLabel.text = "Shield: "+ Math.round(playerAI.CURRENT_SHIELD);
this.shieldBar.size.set(playerAI.CURRENT_SHIELD*1.5, 10);
this.shieldBar.position.set(playerAI.CURRENT_SHIELD*0.75+20, 50);
// this.shieldLabel.sizeToText();