Proper management of paradigmes

This commit is contained in:
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)