reset the battle log on a new game

This commit is contained in:
Andreas Zweili 2021-01-22 20:40:40 +01:00
parent 7604ae091e
commit c03c750225
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ const app = Vue.createApp({
this.monsterHealth = 100;
this.winner = null;
this.currentRound = 0;
this.battleLog = [];
},
attackMonster() {
this.currentRound++;