Correction sur sort/devotion

This commit is contained in:
LeRatierBretonnien 2024-04-30 11:40:20 +02:00
parent ea3486bc03
commit 86b2807f38
2 changed files with 5 additions and 5 deletions

View File

@ -147,9 +147,9 @@ export class VadentisActor extends Actor {
msgData.img = 'systems/foundryvtt-vadentis/images/icons/tchat_sort_réussi.webp'; msgData.img = 'systems/foundryvtt-vadentis/images/icons/tchat_sort_réussi.webp';
msgData.msg = `${this.name} a réussi son ${name} et perd ${devotionSort.system.pe} Points d'Energie (lancer : ${formulaFull} => <strong>${myRoll.total} / ${devotionSort.system.difficulty}</strong>).`; msgData.msg = `${this.name} a réussi son ${name} et perd ${devotionSort.system.pe} Points d'Energie (lancer : ${formulaFull} => <strong>${myRoll.total} / ${devotionSort.system.difficulty}</strong>).`;
let maintain = (devotionSort.system.ismaintain)?"Oui":"Non"; //DEPRECATED : let maintain = (devotionSort.system.ismaintain)?"Oui":"Non";
let complex = (devotionSort.system.complexactions)?"Oui":"Non"; //DEPRECATED : let complex = (devotionSort.system.complexactions)?"Oui":"Non";
msgData.msg += `<br>Peut être maintenu: ${maintain}<br>Actions complexes : ${complex}`; //DEPRECATED : msgData.msg += `<br>Peut être maintenu: ${maintain}<br>Actions complexes : ${complex}`;
if ( !devotionSort.system.notes) devotionSort.system.notes = ""; if ( !devotionSort.system.notes) devotionSort.system.notes = "";
msgData.msg += `<br><strong>Description : </strong>${devotionSort.system.notes.replace(/<\/?[^>]+(>|$)/g, "")}`; msgData.msg += `<br><strong>Description : </strong>${devotionSort.system.notes.replace(/<\/?[^>]+(>|$)/g, "")}`;

View File

@ -2,7 +2,7 @@
"id": "foundryvtt-vadentis", "id": "foundryvtt-vadentis",
"title": "Vadentis", "title": "Vadentis",
"description": "Système Vadentis pour FoundryVTT", "description": "Système Vadentis pour FoundryVTT",
"version": "11.0.1", "version": "11.0.2",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "11",
"verified": "12" "verified": "12"
@ -223,6 +223,6 @@
"socket": true, "socket": true,
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-vadentis", "url": "https://www.uberwald.me/gitea/uberwald/fvtt-vadentis",
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-vadentis/-/raw/master/system.json", "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-vadentis/-/raw/master/system.json",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-vadentis/archive/foundryvtt-vadentis-v11.0.1.zip", "download": "https://www.uberwald.me/gitea/uberwald/fvtt-vadentis/archive/foundryvtt-vadentis-v11.0.2.zip",
"license": "LICENSE.txt" "license": "LICENSE.txt"
} }