Merge pull request '## 12.0.4 - La plaie d'Astrobazzarh' (#705) from VincentVk/foundryvtt-reve-de-dragon:v11 into v11

Reviewed-on: #705
This commit is contained in:
uberwald 2024-07-03 21:47:11 +02:00
commit b9e911a588
5 changed files with 12 additions and 7 deletions

View File

@ -1,4 +1,9 @@
# 12.0 # 12.0
## 12.0.4 - La plaie d'Astrobazzarh
- **Support V12**
- Fix: les boutons d'encaissement dans le tchat fonctionnent de nouveau
- Fix warnings sur "Die" et AudioHelper
## 12.0.3 - L'hémorragie d'Astrobazzarh ## 12.0.3 - L'hémorragie d'Astrobazzarh
- **Support V12** - **Support V12**
- On peut de nouveau ouvrir un acteur blessé après redémarrage du monde - On peut de nouveau ouvrir un acteur blessé après redémarrage du monde

View File

@ -197,7 +197,7 @@ export class Misc {
} }
static isOwnerPlayer(actor) { static isOwnerPlayer(actor) {
return actor.testUserPermission(game.user, CONST.DOCUMENT_PERMISSION_LEVELS.OWNER) return actor.testUserPermission(game.user, CONST.DOCUMENT_OWNERSHIP_LEVELS.OWNER)
} }
static isOwnerPlayerOrUniqueConnectedGM(actor) { static isOwnerPlayerOrUniqueConnectedGM(actor) {

View File

@ -15,7 +15,7 @@ export class RdDAudio {
if ( audioData ) { if ( audioData ) {
let audioPath = "systems/foundryvtt-reve-de-dragon/sounds/" + audioData.file; let audioPath = "systems/foundryvtt-reve-de-dragon/sounds/" + audioData.file;
console.log(`foundryvtt-reve-de-dragon | Playing Sound: ${audioPath}`) console.log(`foundryvtt-reve-de-dragon | Playing Sound: ${audioPath}`)
AudioHelper.play({ src: audioPath }, audioData.isGlobal); foundry.audio.AudioHelper.play({ src: audioPath }, audioData.isGlobal);
} }
} }
} }

View File

@ -17,7 +17,7 @@ const imagesHeures = [1, 2, 3, 4, 5, 6, 7, 9, 9, 10, 11, 12].map(it => iconHeure
const imgSigneDragon = img(imagesHeures[4]); const imgSigneDragon = img(imagesHeures[4]);
/** De pour les jets de rencontre */ /** De pour les jets de rencontre */
export class DeTMR extends Die { export class DeTMR extends foundry.dice.terms.Die {
/** @override */ /** @override */
static DENOMINATION = "t"; static DENOMINATION = "t";
@ -55,7 +55,7 @@ export class DeTMR extends Die {
} }
/** DeDraconique pour le D8 sans limite avec 8=>0 */ /** DeDraconique pour le D8 sans limite avec 8=>0 */
export class DeDraconique extends Die { export class DeDraconique extends foundry.dice.terms.Die {
static DENOMINATION = "r"; static DENOMINATION = "r";
static diceSoNiceData(system) { static diceSoNiceData(system) {
@ -93,7 +93,7 @@ export class DeDraconique extends Die {
} }
/** De 12 avec les heures */ /** De 12 avec les heures */
export class DeHeure extends Die { export class DeHeure extends foundry.dice.terms.Die {
/** @override */ /** @override */
static DENOMINATION = "h"; static DENOMINATION = "h";

View File

@ -1,8 +1,8 @@
{ {
"id": "foundryvtt-reve-de-dragon", "id": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"version": "12.0.3", "version": "12.0.4",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-12.0.3.zip", "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-12.0.4.zip",
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v11/system.json", "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v11/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": {