Proper management of paradigmes
This commit is contained in:
parent
fef19cbd4c
commit
9c589d3ac7
@ -430,9 +430,11 @@ export class Imperium5Utility {
|
|||||||
let para = actor.system.paradigmes[paraKey]
|
let para = actor.system.paradigmes[paraKey]
|
||||||
rollData.seuil = para.value
|
rollData.seuil = para.value
|
||||||
rollData.usedParadigme = para.label
|
rollData.usedParadigme = para.label
|
||||||
|
console.log(">>>>>>>>>>NEW SEUIL : ", rollData.seuil)
|
||||||
actor.setParadigmeUsed(paraKey)
|
actor.setParadigmeUsed(paraKey)
|
||||||
|
|
||||||
this.computeReussites(rollData)
|
this.computeReussites(rollData)
|
||||||
|
rollData.realSuccessPC = rollData.successPC // To manage source transfer
|
||||||
rollData.paradigmes = []
|
rollData.paradigmes = []
|
||||||
let msg = await this.createChatWithRollMode(rollData.alias, {
|
let msg = await this.createChatWithRollMode(rollData.alias, {
|
||||||
content: await renderTemplate(`systems/fvtt-imperium5/templates/chat-generic-result.html`, rollData)
|
content: await renderTemplate(`systems/fvtt-imperium5/templates/chat-generic-result.html`, rollData)
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"flags": {}
|
"flags": {}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "10.0.12",
|
"version": "10.0.13",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "10",
|
"minimum": "10",
|
||||||
"verified": "10",
|
"verified": "10",
|
||||||
@ -75,5 +75,5 @@
|
|||||||
"background": "images/ui/imperium5_welcome_page.webp",
|
"background": "images/ui/imperium5_welcome_page.webp",
|
||||||
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5",
|
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5",
|
||||||
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/raw/branch/master/system.json",
|
"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"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user