Gestion auto de l'état sonné en combat

This commit is contained in:
2021-02-17 11:16:27 +01:00
parent 98c6133938
commit 1cdadbd9d6
5 changed files with 57 additions and 10 deletions

View File

@ -18,11 +18,19 @@ export class RdDCombatManager extends Combat {
turn.actor.resetItemUse()
}
}
/* -------------------------------------------- */
cleanSonne( ) {
for (let combatant of this.data.combatants) {
combatant.actor.verifierSonneRound( this.current.round );
}
}
/* -------------------------------------------- */
async nextRound() {
//console.log('New round !');
//console.log('New round !');s
this.cleanItemUse();
this.cleanSonne();
}
}