Proper management of paradigmes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user