forked from public/foundryvtt-wh4-lang-fr-fr
Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
let hasMagazine = await Dialog.confirm({content: "<p>Does the vessel have a magazine or any other kind of store for blackpowder?</p>"});
|
||||
let hasMagazine = await foundry.applications.api.DialogV2.confirm({window : {title : this.effect.name}, content: "<p>Le navire a-t-il un magasin ou tout autre type de réserve pour la poudre noire ?</p>"});
|
||||
|
||||
if (!hasMagazine) return;
|
||||
|
||||
@@ -27,4 +27,4 @@ for (let i = 0; i < roll.total; i++) {
|
||||
const items = await this.actor.createEmbeddedDocuments("Item", crits);
|
||||
const speaker = ChatMessage.getSpeaker({actor: this.actor});
|
||||
const uuids = items.map(i => `@UUID[${i.uuid}]`);
|
||||
this.script.scriptMessage(`<p><b>${this.item.name}</b> caused an additional ${anchor.outerHTML} Critical Hits to the Hull!</p><ul><li>${uuids.join('<li>')}</ul>`)
|
||||
this.script.message(`<p><b>${this.item.name}</b> provoque un nombre supplémentaire de ${anchor.outerHTML} Coups Critiques à la Coque!</p><ul><li>${uuids.join('<li>')}</ul>`)
|
||||
Reference in New Issue
Block a user