fix: traits dans les jets et édition du niveau de trait
Release Creation / build (release) Successful in 45s
Release Creation / build (release) Successful in 45s
- partial-common-roll-dialog.hbs, confront-dialog.hbs: utiliser trait.id (pas trait._id) pour matcher rollData.traits construit dans ecryme-actor.js Fix: jet silencieux quand un trait était sélectionné (value=undefined -> getTrait(undefined) -> TypeError avant création du message de chat) - ecryme-config.js: traitLevel utilise des clés 1/2/3 (pas -3..+3) pour matcher le NumberField level (initial:1, min:1) du DataModel trait.js. Fix: le niveau revient sur -3 à l'édition car String(2) ne matchait pas '+2' Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -11,12 +11,9 @@ export const ECRYME_CONFIG = {
|
||||
"ranged": "ECRY.ui.ranged"
|
||||
},
|
||||
traitLevel: {
|
||||
"-3":{value: "-3", text: "-3"},
|
||||
"-2":{value: "-2", text: "-2"},
|
||||
"-1":{value: "-1", text: "-1"},
|
||||
"+1":{value: "+1", text: "+1"},
|
||||
"+2":{value: "+2", text: "+2"},
|
||||
"+3":{value: "+3", text: "+3"}
|
||||
"1":{value: "1", text: "1"},
|
||||
"2":{value: "2", text: "2"},
|
||||
"3":{value: "3", text: "3"}
|
||||
},
|
||||
impactTypes: {
|
||||
physical: "ECRY.ui.physical",
|
||||
|
||||
Reference in New Issue
Block a user