8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8d254 commit d06e6d0Copy full SHA for d06e6d0
src/js/scenes/battle.js
@@ -40,7 +40,6 @@ export default class BattleScene extends Phaser.Scene {
40
}
41
42
startBattle() {
43
-
44
window.bgMusic = false;
45
window.worldMusic = false;
46
window.battleMusic = true;
@@ -149,8 +148,7 @@ export default class BattleScene extends Phaser.Scene {
149
148
150
this.warriorHP = this.heroes[0].hp;
151
this.mageHP = this.heroes[1].hp;
152
153
- } else if (this.heroes.length === 1 && this.heroes[0].hp > 0) { //heroes.length == 1
+ } else if (this.heroes.length === 1 && this.heroes[0].hp > 0) { // heroes.length == 1
154
if (this.heroes[0].type === 'Warrior') {
155
this.warriorHP = this.heroes[0].hp + 12;
156
} else if (this.heroes[0].type === 'Mage') {
0 commit comments