Gestion des signes draconiques #455

Closed
vincent.vandeme wants to merge 233 commits from v1.4-signes-draconiques into master
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 65348b0710 - Show all commits

View File

@ -1198,7 +1198,7 @@ export class RdDActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async verifierSonneRound(round) { async verifierSonneRound(round) {
if (this.getSonne()) { if (this.getSonne()) {
if (round >= this.getSonneRound() + 1) { if (round > this.getSonneRound() + 1) {
await this.setSonne(false, -1); // Nettoyer l'état sonné await this.setSonne(false, -1); // Nettoyer l'état sonné
ChatMessage.create({ content: `${this.name} n'est plus sonné ce round !` }); ChatMessage.create({ content: `${this.name} n'est plus sonné ce round !` });
} }

View File

@ -143,7 +143,7 @@ export class RdDItemSheet extends ItemSheet {
/** @override */ /** @override */
_updateObject(event, formData) { // Deprecated en v0.8 à clarifier _updateObject(event, formData) { // Deprecated en v0.8 à clarifier
console.log("UPDATE !", formData); //console.log("UPDATE !", formData);
// Données de bonus de cases ? // Données de bonus de cases ?
formData = RdDItemSort.buildBonusCaseStringFromFormData( formData ); formData = RdDItemSort.buildBonusCaseStringFromFormData( formData );