#159 Affiche d'informations sur l'init

This commit is contained in:
2021-02-17 15:16:56 +01:00
parent 155990610a
commit 1f61c955b7
2 changed files with 11 additions and 4 deletions

View File

@ -39,7 +39,7 @@ const _patch_initiative = () => {
Combat.prototype.rollInitiative = async function (
ids,
formula = undefined,
messageOptions = {}
messageOptions = {}
) {
console.log(
`${game.data.system.data.title} | Combat.rollInitiative()`,
@ -94,7 +94,7 @@ const _patch_initiative = () => {
alias: c.token.name,
sound: CONFIG.sounds.dice,
},
flavor: `${c.token.name} a fait son jet d'Initiative`,
flavor: `${c.token.name} a fait son jet d'Initiative (${messageOptions.initInfo})`,
},
messageOptions
);