forked from public/foundryvtt-reve-de-dragon
#180 - Fix
This commit is contained in:
@ -1198,7 +1198,7 @@ export class RdDActor extends Actor {
|
||||
/* -------------------------------------------- */
|
||||
async verifierSonneRound(round) {
|
||||
if (this.getSonne()) {
|
||||
if (round >= this.getSonneRound() + 1) {
|
||||
if (round > this.getSonneRound() + 1) {
|
||||
await this.setSonne(false, -1); // Nettoyer l'état sonné
|
||||
ChatMessage.create({ content: `${this.name} n'est plus sonné ce round !` });
|
||||
}
|
||||
|
Reference in New Issue
Block a user