Fix: reset des utilisations d'items

This commit is contained in:
2024-11-03 23:31:56 +01:00
parent 894d4f3941
commit 09365eb744
6 changed files with 71 additions and 55 deletions

View File

@ -276,11 +276,11 @@ export class RdDBaseActorSang extends RdDBaseActorReve {
ui.notifications.info(`${this.name} est hors combat, il ne reste donc pas sonné`);
return;
}
await this.setEffect(STATUSES.StatusStunned, sonne);
await this.setEffect(STATUSES.StatusStunned, sonne)
}
getSonne() {
return this.getEffect(STATUSES.StatusStunned);
isSonne() {
return this.getEffect(STATUSES.StatusStunned)
}
isEffectAllowed(effectId) { return true }