Proper management of paradigmes

This commit is contained in:
sladecraven 2022-11-07 11:21:42 +01:00
parent fef19cbd4c
commit 9c589d3ac7
2 changed files with 4 additions and 2 deletions

View File

@ -430,9 +430,11 @@ export class Imperium5Utility {
let para = actor.system.paradigmes[paraKey]
rollData.seuil = para.value
rollData.usedParadigme = para.label
console.log(">>>>>>>>>>NEW SEUIL : ", rollData.seuil)
actor.setParadigmeUsed(paraKey)
this.computeReussites(rollData)
rollData.realSuccessPC = rollData.successPC // To manage source transfer
rollData.paradigmes = []
let msg = await this.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-imperium5/templates/chat-generic-result.html`, rollData)

View File

@ -15,7 +15,7 @@
"flags": {}
}
],
"version": "10.0.12",
"version": "10.0.13",
"compatibility": {
"minimum": "10",
"verified": "10",
@ -75,5 +75,5 @@
"background": "images/ui/imperium5_welcome_page.webp",
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5",
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/raw/branch/master/system.json",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/archive/fvtt-imperium5-v10.0.12.zip"
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/archive/fvtt-imperium5-v10.0.13.zip"
}