Fix: warnings deprecated v12
This commit is contained in:
parent
1725d4c17b
commit
50a86e751d
@ -2,6 +2,7 @@
|
||||
## 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
|
||||
- **Support V12**
|
||||
|
@ -15,7 +15,7 @@ export class RdDAudio {
|
||||
if ( audioData ) {
|
||||
let audioPath = "systems/foundryvtt-reve-de-dragon/sounds/" + audioData.file;
|
||||
console.log(`foundryvtt-reve-de-dragon | Playing Sound: ${audioPath}`)
|
||||
AudioHelper.play({ src: audioPath }, audioData.isGlobal);
|
||||
foundry.audio.AudioHelper.play({ src: audioPath }, audioData.isGlobal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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]);
|
||||
|
||||
/** De pour les jets de rencontre */
|
||||
export class DeTMR extends Die {
|
||||
export class DeTMR extends foundry.dice.terms.Die {
|
||||
/** @override */
|
||||
static DENOMINATION = "t";
|
||||
|
||||
@ -55,7 +55,7 @@ export class DeTMR extends Die {
|
||||
}
|
||||
|
||||
/** 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 diceSoNiceData(system) {
|
||||
@ -93,7 +93,7 @@ export class DeDraconique extends Die {
|
||||
}
|
||||
|
||||
/** De 12 avec les heures */
|
||||
export class DeHeure extends Die {
|
||||
export class DeHeure extends foundry.dice.terms.Die {
|
||||
|
||||
/** @override */
|
||||
static DENOMINATION = "h";
|
||||
|
Loading…
Reference in New Issue
Block a user