diff --git a/changelog.md b/changelog.md index 48c09cdd..fc9a85ac 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,8 @@ # 12.0 +## 12.0.33 - la vieillesse d'Astrobazzarh +- retour de l'expérience pour les joueurs +- suppression du message "Pas de caractéristique" sur les jets d'odorat-goût + ## 12.0.32 - les rêveries d'Astrobazzarh - Ajout des Items Race pour gérer les ajustements liés aux races diff --git a/module/actor.js b/module/actor.js index b0e3c09a..76c5d3b6 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1596,7 +1596,7 @@ export class RdDActor extends RdDBaseActorSang { /* -------------------------------------------- */ async appliquerAjoutExperience(rollData, hideChatMessage = 'show') { - if (!Misc.isFirstConnectedGM()) { + if (!Misc.hasConnectedGM()) { return } hideChatMessage = hideChatMessage == 'hide' || (Misc.isRollModeHiddenToPlayer() && !game.user.isGM) diff --git a/module/misc.js b/module/misc.js index 40afa4d5..72530790 100644 --- a/module/misc.js +++ b/module/misc.js @@ -216,6 +216,10 @@ export class Misc { static isFirstConnectedGM() { return game.user == Misc.firstConnectedGM(); } + + static hasConnectedGM() { + return Misc.firstConnectedGM(); + } static firstConnectedGMId() { return Misc.firstConnectedGM()?.id; diff --git a/system.json b/system.json index 9025016d..ae6483e6 100644 --- a/system.json +++ b/system.json @@ -1,9 +1,9 @@ { "id": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", - "version": "12.0.32", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/releases/download/12.0.32/rddsystem.zip", - "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/releases/download/12.0.32/system.json", + "version": "12.0.33", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/releases/download/12.0.33/rddsystem.zip", + "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/releases/download/12.0.33/system.json", "changelog": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md", "compatibility": { "minimum": "11",