juste skill>0 dans rollDialog

This commit is contained in:
rwanoux
2024-05-14 11:47:40 +02:00
parent a62b067f3d
commit 72f31c2eb1
+2 -1
View File
@@ -84,9 +84,9 @@
<option>-- Choisissez une caractéristique
--</option>
{{#each config.skillCategories as |skillCategory catkey|}}
<optgroup label="{{ smarttlk 'SKILLS_CATEGORIES' catkey 'name' }}">
{{#each @root.actor.system.skills as |skill key|}}
{{#ifgt skill.value 0}}
{{#ife skill.category catkey}}
<option value="{{skill.value}}" data-pool="{{skillLevel "dicePool"
skill.value}}"
@@ -102,6 +102,7 @@
relances:{{skillLevel "reroll" skill.value}}</i>
</option>
{{/ife}}
{{/ifgt}}
{{/each}}
</optgroup>
{{/each}}