From 86b2807f387463513cb9f63d0b4c2baa130029f8 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Tue, 30 Apr 2024 11:40:20 +0200 Subject: [PATCH] Correction sur sort/devotion --- modules/vadentis-actor.js | 6 +++--- system.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/vadentis-actor.js b/modules/vadentis-actor.js index e020f82..6b872cc 100644 --- a/modules/vadentis-actor.js +++ b/modules/vadentis-actor.js @@ -147,9 +147,9 @@ export class VadentisActor extends Actor { 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} => ${myRoll.total} / ${devotionSort.system.difficulty}).`; - let maintain = (devotionSort.system.ismaintain)?"Oui":"Non"; - let complex = (devotionSort.system.complexactions)?"Oui":"Non"; - msgData.msg += `
Peut être maintenu: ${maintain}
Actions complexes : ${complex}`; + //DEPRECATED : let maintain = (devotionSort.system.ismaintain)?"Oui":"Non"; + //DEPRECATED : let complex = (devotionSort.system.complexactions)?"Oui":"Non"; + //DEPRECATED : msgData.msg += `
Peut être maintenu: ${maintain}
Actions complexes : ${complex}`; if ( !devotionSort.system.notes) devotionSort.system.notes = ""; msgData.msg += `
Description : ${devotionSort.system.notes.replace(/<\/?[^>]+(>|$)/g, "")}`; diff --git a/system.json b/system.json index ca6ae70..d832932 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "foundryvtt-vadentis", "title": "Vadentis", "description": "Système Vadentis pour FoundryVTT", - "version": "11.0.1", + "version": "11.0.2", "compatibility": { "minimum": "11", "verified": "12" @@ -223,6 +223,6 @@ "socket": true, "url": "https://www.uberwald.me/gitea/uberwald/fvtt-vadentis", "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" }