Fix: experience sur particulière
This commit is contained in:
parent
aa52e26e1a
commit
daca86b1df
@ -1,4 +1,8 @@
|
|||||||
# 12.0
|
# 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
|
## 12.0.32 - les rêveries d'Astrobazzarh
|
||||||
- Ajout des Items Race pour gérer les ajustements liés aux races
|
- Ajout des Items Race pour gérer les ajustements liés aux races
|
||||||
|
|
||||||
|
@ -1596,7 +1596,7 @@ export class RdDActor extends RdDBaseActorSang {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async appliquerAjoutExperience(rollData, hideChatMessage = 'show') {
|
async appliquerAjoutExperience(rollData, hideChatMessage = 'show') {
|
||||||
if (!Misc.isFirstConnectedGM()) {
|
if (!Misc.hasConnectedGM()) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
hideChatMessage = hideChatMessage == 'hide' || (Misc.isRollModeHiddenToPlayer() && !game.user.isGM)
|
hideChatMessage = hideChatMessage == 'hide' || (Misc.isRollModeHiddenToPlayer() && !game.user.isGM)
|
||||||
|
@ -217,6 +217,10 @@ export class Misc {
|
|||||||
return game.user == Misc.firstConnectedGM();
|
return game.user == Misc.firstConnectedGM();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static hasConnectedGM() {
|
||||||
|
return Misc.firstConnectedGM();
|
||||||
|
}
|
||||||
|
|
||||||
static firstConnectedGMId() {
|
static firstConnectedGMId() {
|
||||||
return Misc.firstConnectedGM()?.id;
|
return Misc.firstConnectedGM()?.id;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"id": "foundryvtt-reve-de-dragon",
|
"id": "foundryvtt-reve-de-dragon",
|
||||||
"title": "Rêve de Dragon",
|
"title": "Rêve de Dragon",
|
||||||
"version": "12.0.32",
|
"version": "12.0.33",
|
||||||
"download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/releases/download/12.0.32/rddsystem.zip",
|
"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.32/system.json",
|
"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",
|
"changelog": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "11",
|
"minimum": "11",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user