reset the battle log on a new game
This commit is contained in:
parent
7604ae091e
commit
c03c750225
|
@ -74,6 +74,7 @@ const app = Vue.createApp({
|
|||
this.monsterHealth = 100;
|
||||
this.winner = null;
|
||||
this.currentRound = 0;
|
||||
this.battleLog = [];
|
||||
},
|
||||
attackMonster() {
|
||||
this.currentRound++;
|
||||
|
|
Reference in New Issue