feat(combat): refonte UI — tracker v14, handicap III, malus d'attaque, checkbox
Release Creation / build (release) Failing after 1m28s

- combat-tracker.hbs + fight.mjs : alignés sur le CSS core v14 (header/tracker/footer, boutons <button>), attitudes/couleurs PJ-PNJ conservées, menu contextuel combatant réparé
- less/combat.less (nouveau) : styles custom tracker + footer sticky des dialogues
- handicap des 3 dialogues de jet étendu jusqu'à III
- dialogue d'attaque : champ « Malus temporaires » (malus sur les jets)
- checkbox/radio : flex: 0 0 auto global (fin des icônes étirées — ex. « Deuxième action » 228px → 24px)
- TEST_COMBAT.md : plan de test combat rejouable (S1-S8, tout PASS)
This commit is contained in:
2026-08-07 18:31:04 +02:00
parent 61b7815381
commit 9f88a66b72
11 changed files with 429 additions and 167 deletions
+10 -2
View File
@@ -59,7 +59,7 @@
<div class="flexcol skill-section">
<label class="label">{{localize 'VERMINE.skill_title'}}</label>
{{#if isCharacter}}
<div class="locked-value">{{ smarttlk 'SKILLS' skillKey 'name' }} / {{ skillValue }}</div>
<div class="locked-value">{{#if skillKey}}{{ smarttlk 'SKILLS' skillKey 'name' }}{{else}}{{ localize 'VERMINE.none' }}{{/if}} / {{ skillValue }}</div>
{{else}}
<div class="locked-value">{{localize 'VERMINE.pool_total'}}</div>
{{/if}}
@@ -112,10 +112,11 @@
<div class="flexcol handicap-section">
<label class="label" for="handicap">{{localize 'VERMINE.handicap'}}</label>
<select class="info-value" data-roll="true" data-dtype="String" type="number"
name="handicap" id="handicap" min="0" max="2">
name="handicap" id="handicap" min="0" max="3">
<option value="1" selected>{{localize 'VERMINE.none'}}</option>
<option value="2">(I)</option>
<option value="3">(II)</option>
<option value="4">(III)</option>
</select>
</div>
</div>
@@ -170,6 +171,13 @@
<span>D</span>
</div>
<div class="flexrow bonus-item full-width">
<label class="label" for="temporary-malus">{{localize 'VERMINE.temporary_malus'}}</label>
<input type="number" data-roll="true" class="numeric-entry" style="text-align: center;"
name="temporary-malus" id="temporary-malus" min="0" max="5" value="0" />
<span>D</span>
</div>
{{#if isCharacter}}
<div class="flexrow bonus-item full-width">
<label class="label" for="self_control">
+2 -1
View File
@@ -50,11 +50,12 @@
name="handicap"
id="handicap"
min="0"
max="2"
max="3"
>
<option value="1" selected>{{localize 'VERMINE.none'}}</option>
<option value="2">(I)</option>
<option value="3">(II)</option>
<option value="4">(III)</option>
</select>
</div>
+2 -1
View File
@@ -169,11 +169,12 @@
name="handicap"
id="handicap"
min="0"
max="2"
max="3"
>
<option value="1" selected>{{localize 'VERMINE.none'}}</option>
<option value="2">(I)</option>
<option value="3">(II)</option>
<option value="4">(III)</option>
</select>
</div>
</div>