Import initial du système

This commit is contained in:
2026-03-28 08:44:19 +01:00
parent 068fca00e5
commit f7a01900ac
105 changed files with 7362 additions and 2090 deletions

View File

@@ -1,437 +1,133 @@
<form class="flexcol {{cssClass}}" autocomplete="off">
<header class="sheet-header">
<div class="cde-roll-result" data-aspect="{{aspect}}">
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Header: aspect identity + roll label --}}
<div class="cde-rr-header">
<div class="cde-rr-header-left">
<img class="cde-rr-aspect-icon" src="{{aspectIcon}}" alt="{{aspectLabel}}" />
<div class="cde-rr-header-text">
<span class="cde-rr-aspect-label">{{aspectLabel}}</span>
<span class="cde-rr-roll-label">{{rollLabel}}</span>
</div>
</div>
{{#if actorImg}}
<div class="cde-rr-header-right">
<img class="cde-rr-actor-avatar" src="{{actorImg}}" alt="{{actorName}}" />
<span class="cde-rr-actor-name">{{actorName}}</span>
</div>
{{/if}}
</div>
{{!-- Frame --}}
<div class="frame">
{{!-- Hero: successes count (+ spell power for magic rolls) --}}
<div class="cde-rr-hero">
<span class="cde-rr-hero-count">{{successesdice}}</span>
<div class="cde-rr-hero-right">
<span class="cde-rr-hero-label">{{ localize "CDE.UpperCaseSuccesses" }}</span>
<span class="cde-rr-hero-dice">{{totalDice}} <span class="cde-rr-hero-dice-label">d10</span></span>
</div>
{{#if spellPower}}
<div class="cde-rr-spell-power">
<span class="cde-rr-spell-power-count">{{spellPower}}</span>
<span class="cde-rr-spell-power-label">{{ localize "CDE.SpellPower" }}</span>
</div>
{{/if}}
</div>
{{#if (eq aspect 'wood')}}
<table style="border: 0px; background-color: transparent;" >
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ successesdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_bois.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseSuccesses" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ auspiciousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_feu.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseAuspiciousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ noxiousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_eau.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseNoxiousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ loksyudice }}&nbsp;{{ loksyurepartition }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_terre.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseLoksyu" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ tinjidice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_metal.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseTinJi" }}</b></span>
</div>
</td>
</tr>
</table>
{{/if}}
{{!-- Detail rows: auspicious / noxious / loksyu / tinji --}}
<div class="cde-rr-details">
{{#if (eq aspect 'fire')}}
<table style="border: 0px; background-color: transparent;" >
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ successesdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_feu.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseSuccesses" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ auspiciousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_terre.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseAuspiciousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ noxiousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_bois.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseNoxiousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ loksyudice }}&nbsp;{{ loksyurepartition }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_metal.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseLoksyu" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ tinjidice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_eau.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseTinJi" }}</b></span>
</div>
</td>
</tr>
</table>
{{/if}}
<div class="cde-rr-row cde-rr-row--auspicious">
<span class="cde-rr-count">{{auspiciousdice}}</span>
<div class="cde-rr-icon"></div>
<span class="cde-rr-label">{{ localize "CDE.UpperCaseAuspiciousDice" }}</span>
</div>
{{#if (eq aspect 'earth')}}
<table style="border: 0px; background-color: transparent;" >
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ successesdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_terre.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseSuccesses" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ auspiciousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_metal.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseAuspiciousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ noxiousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_feu.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseNoxiousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ loksyudice }}&nbsp;{{ loksyurepartition }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_eau.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseLoksyu" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ tinjidice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_bois.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseTinJi" }}</b></span>
</div>
</td>
</tr>
</table>
{{/if}}
<div class="cde-rr-row cde-rr-row--noxious">
<span class="cde-rr-count">{{noxiousdice}}</span>
<div class="cde-rr-icon"></div>
<span class="cde-rr-label">{{ localize "CDE.UpperCaseNoxiousDice" }}</span>
</div>
{{#if (eq aspect 'metal')}}
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ successesdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_metal.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseSuccesses" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ auspiciousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_eau.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseAuspiciousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ noxiousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_terre.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseNoxiousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ loksyudice }}&nbsp;{{ loksyurepartition }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_bois.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseLoksyu" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ tinjidice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_feu.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseTinJi" }}</b></span>
</div>
</td>
</tr>
</table>
{{/if}}
<div class="cde-rr-row cde-rr-row--loksyu">
<span class="cde-rr-count">{{loksyudice}}</span>
<div class="cde-rr-icon"></div>
<span class="cde-rr-label">{{ localize "CDE.UpperCaseLoksyu" }}
<span class="cde-rr-partition">{{loksyurepartition}}</span>
</span>
</div>
{{#if (eq aspect 'water')}}
<table style="border: 0px; background-color: transparent;" >
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ successesdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_eau.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(0, 159, 226, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseSuccesses" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ auspiciousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_bois.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(65, 164, 54, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseAuspiciousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 25px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ noxiousdice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_metal.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="label" style="font-size: 20px; color: rgba(112, 112, 110, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseNoxiousDice" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ loksyudice }}&nbsp;{{ loksyurepartition }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_feu.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(205, 23, 26, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseLoksyu" }}</b></span>
</div>
</td>
</tr>
<tr style="background-color: transparent;">
<td>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 25px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ tinjidice }}</b></span>
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<img class="aspect" style="border: 0px; width:10%;" src="systems/fvtt-chroniques-de-l-etrange/images/cde_terre.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 20px; color: rgba(168, 87, 71, 1); text-align: center;"><b>{{ localize "CDE.UpperCaseTinJi" }}</b></span>
</div>
</td>
</tr>
</table>
{{/if}}
<div class="app">
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<td style="width: 18.75%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d1 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d2 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d3 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d4 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d5 }}</b></span>
</td>
</tr>
<tr style="background-color: transparent;">
<td style="width: 18.75%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-1.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-2.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-3.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-4.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-5.png" />
</td>
</tr>
</table>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<td style="width: 18.65%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d6 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d7 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d8 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d9 }}</b></span>
</td>
<td style="width: 18%;">
<span style="display: flex; justify-content: center; align-items: center; font-size: 25px; text-align: center;" class="value"><b>{{ d0 }}</b></span>
</td>
</tr>
<tr style="background-color: transparent;">
<td style="width: 18.65%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-6.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-7.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-8.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-9.png" />
</td>
<td style="width: 18%;">
<img class="plate" style="width: 100%; border: 0px;" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-0.png" />
</td>
</tr>
</table>
</div>
</div>
</section>
</form>
<div class="cde-rr-row cde-rr-row--tinji">
<span class="cde-rr-count">{{tinjidice}}</span>
<div class="cde-rr-icon"></div>
<span class="cde-rr-label">{{ localize "CDE.UpperCaseTinJi" }}</span>
</div>
</div>
{{!-- Weapon damage (only for weapon rolls) --}}
{{#if weaponName}}
<div class="cde-rr-weapon-damage">
<i class="fas fa-khanda cde-rr-weapon-icon"></i>
<div class="cde-rr-weapon-text">
<span class="cde-rr-weapon-name">{{weaponName}}</span>
<span class="cde-rr-weapon-calc">
{{successesdice}} × {{damageBase}} =
<strong class="cde-rr-weapon-total">{{totalDamage}}</strong>
<span class="cde-rr-weapon-unit">{{ localize "CDE.TotalDamage" }}</span>
</span>
</div>
</div>
{{/if}}
{{!-- Modifiers footer (only if non-empty) --}}
{{#if modifiersText}}
<div class="cde-rr-footer">
<span class="cde-rr-footer-label">{{ localize "CDE.Modifiers" }}</span>
<span class="cde-rr-footer-text">{{modifiersText}}</span>
</div>
{{/if}}
{{!-- Die face counts grid (d1d9, d0=10) --}}
<div class="cde-dice-grid">
<div class="cde-dice-cell" data-face="1">
<span class="cde-dice-count">{{d1}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-1.png" alt="1" />
</div>
<div class="cde-dice-cell" data-face="2">
<span class="cde-dice-count">{{d2}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-2.png" alt="2" />
</div>
<div class="cde-dice-cell" data-face="3">
<span class="cde-dice-count">{{d3}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-3.png" alt="3" />
</div>
<div class="cde-dice-cell" data-face="4">
<span class="cde-dice-count">{{d4}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-4.png" alt="4" />
</div>
<div class="cde-dice-cell" data-face="5">
<span class="cde-dice-count">{{d5}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-5.png" alt="5" />
</div>
<div class="cde-dice-cell" data-face="6">
<span class="cde-dice-count">{{d6}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-6.png" alt="6" />
</div>
<div class="cde-dice-cell" data-face="7">
<span class="cde-dice-count">{{d7}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-7.png" alt="7" />
</div>
<div class="cde-dice-cell" data-face="8">
<span class="cde-dice-count">{{d8}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-8.png" alt="8" />
</div>
<div class="cde-dice-cell" data-face="9">
<span class="cde-dice-count">{{d9}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-9.png" alt="9" />
</div>
<div class="cde-dice-cell" data-face="0">
<span class="cde-dice-count">{{d0}}</span>
<img class="cde-dice-plate" src="systems/fvtt-chroniques-de-l-etrange/images/dice-plate/d10-0.png" alt="10" />
</div>
</div>
</div>

View File

@@ -0,0 +1,33 @@
<div class="cde-roll-prompt cde-initiative-prompt">
<div class="cde-roll-header">
<span class="cde-roll-title">{{ localize "CDE.InitiativeRoll" }}</span>
<span class="cde-roll-dice-count cde-initiative-icon"></span>
</div>
<div class="cde-roll-section cde-initiative-base-row">
<div class="cde-roll-field cde-initiative-base-field">
<label>{{ localize "CDE.Physical" }}</label>
<span class="cde-initiative-base-value">{{physicalValue}}</span>
</div>
<span class="cde-initiative-op">+</span>
<div class="cde-roll-field cde-initiative-action-field">
<label>{{ localize "CDE.FirstAction" }}</label>
<select name="firstaction" class="cde-initiative-select">
{{#each options}}
<option value="{{key}}">{{label}} ({{value}})</option>
{{/each}}
</select>
</div>
</div>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.InitiativeBonus" }}</label>
<input class="cde-roll-input" type="number" name="modifier" value="{{modifier}}" />
</div>
</div>
<div class="cde-initiative-hint">{{ localize "CDE.InitiativeFormulaNPC" }}</div>
</div>

View File

@@ -0,0 +1,33 @@
<div class="cde-roll-prompt cde-initiative-prompt">
<div class="cde-roll-header">
<span class="cde-roll-title">{{ localize "CDE.InitiativeRoll" }}</span>
<span class="cde-roll-dice-count cde-initiative-icon"></span>
</div>
<div class="cde-roll-section cde-initiative-base-row">
<div class="cde-roll-field cde-initiative-base-field">
<label>{{ localize "CDE.Prowess" }}</label>
<span class="cde-initiative-base-value">{{prowessValue}}</span>
</div>
<span class="cde-initiative-op">+</span>
<div class="cde-roll-field cde-initiative-action-field">
<label>{{ localize "CDE.FirstAction" }}</label>
<select name="firstaction" class="cde-initiative-select">
{{#each options}}
<option value="{{key}}">{{label}} ({{value}})</option>
{{/each}}
</select>
</div>
</div>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.InitiativeBonus" }}</label>
<input class="cde-roll-input" type="number" name="modifier" value="{{modifier}}" />
</div>
</div>
<div class="cde-initiative-hint">{{ localize "CDE.InitiativeFormula" }}</div>
</div>

View File

@@ -0,0 +1,41 @@
<div class="cde-initiative-result">
{{!-- Header: actor identity --}}
<div class="cde-ir-header">
{{#if actorImg}}
<img class="cde-ir-avatar" src="{{actorImg}}" alt="{{actorName}}" />
{{/if}}
<div class="cde-ir-actor-info">
<span class="cde-ir-actor-name">{{actorName}}</span>
<span class="cde-ir-roll-label">{{ localize "CDE.InitiativeRoll" }}</span>
</div>
</div>
{{!-- Formula display --}}
<div class="cde-ir-formula">
<span class="cde-ir-formula-base">{{baseName}}</span>
<span class="cde-ir-formula-val">{{baseValue}}</span>
<span class="cde-ir-formula-sep">+</span>
<span class="cde-ir-formula-base">{{actionName}}</span>
<span class="cde-ir-formula-val">{{actionValue}}</span>
{{#if hasModifier}}
<span class="cde-ir-formula-sep">{{#if (gt modifier 0)}}+{{else}}{{/if}}</span>
<span class="cde-ir-formula-val cde-ir-formula-mod">{{modifier}}</span>
{{/if}}
<span class="cde-ir-formula-eq">=</span>
<span class="cde-ir-formula-total">{{initiative}}</span>
</div>
{{!-- Hero: big neon initiative number --}}
<div class="cde-ir-hero">
<span class="cde-ir-init-value">{{initiative}}</span>
<div class="cde-ir-hero-right">
<span class="cde-ir-init-label">{{ localize "CDE.Initiative" }}</span>
<span class="cde-ir-anti">
<span class="cde-ir-anti-label">{{ localize "CDE.AntiInitiative" }}</span>
<span class="cde-ir-anti-value">{{antiInitiative}}</span>
</span>
</div>
</div>
</div>

View File

@@ -1,152 +1,77 @@
<form class="flexcol {{cssClass}}" autocomplete="off">
<header class="sheet-header">
<div class="name">
<label><b>{{ localize "CDE.MagicPromptName" }}</b></label>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body" style="background-image: url('/systems/fvtt-chroniques-de-l-etrange/images/cde_fond_transp.png')";
<div class="cde-roll-prompt cde-roll-prompt--magic {{cssClass}}">
{{!-- Frame --}}
<div class="frame">
<div class="cde-roll-header">
<span class="cde-roll-title">{{ localize "CDE.MagicPromptName" }}</span>
</div>
<table style="background-color: transparent; border-top: 0px; border-bottom: 1px; border-color: transparent transparent black;">
<tr style="background-color: transparent;">
<td>
<b>{{ localize "CDE.OneMagicRoll" }}</b>
</td>
</tr>
</table>
<table style="border: 0px; background-color: transparent;" >
<tr style="background-color: transparent;">
<td class="label col1-5" style="width: 20%">&nbsp;</td>
<td class="image col2-5">
<!-- style="display: flex; justify-content: center; align-items: center;" -->
<div style="display: flex; justify-content: center; align-items: center;">
<img class="bigsquare" style="border: 0px; z-index: 4;" src="systems/fvtt-chroniques-de-l-etrange/images/bigsquare.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 30px; text-align: center; margin-top: -47px; z-index: 4;"><b>{{ numberofdice }}</b></span>
</div>
</td>
<td class="label col3-5">&nbsp;</td>
<td class="label col4-5" style="font-size: 30px"><b>&nbsp;+&nbsp;</b><b>1&nbsp;+</b></td>
<td class="label col5-5">&nbsp;</td>
</tr>
</table>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<td class="label col1-5">{{ localize "CDE.AspectSkill" }}</td>
<td class="label col2-5">&nbsp;</td>
<td class="label col3-5">{{ localize "CDE.BonusMalus" }}</td>
<td class="label col4-5">&nbsp;</td>
<td class="label col5-5">{{ localize "CDE.BonusAuspiciousDice" }}</td>
</tr>
<tr style="background-color: transparent;">
<td class="select col1-5">
<select name="aspectskill">
{{#select aspectskill }}
<option value="0">{{ localize "CDE.Metal" }}</option>
<option value="1">{{ localize "CDE.Water" }}</option>
<option value="2">{{ localize "CDE.Earth" }}</option>
<option value="3">{{ localize "CDE.Fire" }}</option>
<option value="4">{{ localize "CDE.Wood" }}</option>
{{/select}}
</select>
</td>
<td class="label col2-5" style="font-size: 25px;">+</td>
<td class="value col3-5"><input class="input" style="text-align: center; width: 60px;" type="number" name="bonusmalusskill" value="{{bonusmalusskill}}"/></td>
<td class="label col4-5">&nbsp;</td>
<td class="select col5-5">
<select name="bonusauspiciousdice">
{{#select bonusauspiciousdice }}
<option value="0">0</option>
<option value="1">+1&nbsp;{{ localize "CDE.AuspiciousDie" }}</option>
<option value="2">+2&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="3">+3&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="4">+4&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="5">+5&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="6">+6&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="7">+7&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="8">+8&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="9">+9&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="10">+10&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="11">+11&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="12">+12&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="13">+13&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="14">+14&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="15">+15&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
{{/select}}
</select>
</td>
</tr>
</table>
<table style="border: 0px; background-color: transparent; margin-top: -10px;">
<tr style="background-color: transparent;">
<td class="small">
<small><i class="click-prefs fas fa-alert"></i>&nbsp;<i>{{ localize "CDE.DoNotModify" }}</i></small>
</td>
</tr>
</table>
<br>
<table style="background-color: transparent; border-top: 0px; border-bottom: 1px; border-color: transparent transparent black;">
<tr style="background-color: transparent;">
<td>
<b>{{ localize "CDE.TwoPowerOfSpell" }}</b>
</td>
</tr>
</table>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<td class="label col1-5">{{ localize "CDE.AspectSpeciality" }}</td>
<td class="label col2-5">&nbsp;</td>
<td class="label col3-5">{{ localize "CDE.RollDifficulty" }}</td>
<td class="label col4-5">&nbsp;</td>
<td class="label col5-5">{{ localize "CDE.BonusMalus" }}</td>
</tr>
<tr style="background-color: transparent;">
<td class="select col1-5">
<select name="aspectspeciality">
{{#select aspectspeciality }}
<option value="0">{{ localize "CDE.Metal" }}</option>
<option value="1">{{ localize "CDE.Water" }}</option>
<option value="2">{{ localize "CDE.Earth" }}</option>
<option value="3">{{ localize "CDE.Fire" }}</option>
<option value="4">{{ localize "CDE.Wood" }}</option>
{{/select}}
</select>
</td>
<td class="label col2-5" style="font-size: 25px;"></td>
<td class="value col3-5"><input class="input" style="text-align: center; width: 60px;" type="number" name="rolldifficulty" value="{{rolldifficulty}}"/></td>
<td class="label col4-5" style="font-size: 25px;">+</td>
<td class="value col3-5"><input class="input" style="text-align: center; width: 60px;" type="number" name="bonusmalusspeciality" value="{{bonusmalusspeciality}}"/></td>
</tr>
</table>
<table style="border: 0px; background-color: transparent; margin-top: -10px;">
<tr style="background-color: transparent;">
<td class="small" style="margin-top: -5px">
<small><i class="click-prefs fas fa-alert"></i>&nbsp;<i>{{ localize "CDE.DoNotModify" }}</i></small>
</td>
</tr>
</table>
<br>&nbsp;<br>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<b>{{ localize "CDE.TypeOfThrow" }}</b>
<td class="select col 1-2">
<select name="typeofthrow">
{{#select typeofthrow }}
<option value="0">{{ localize "CDE.Everybody" }}</option>
<option value="1">{{ localize "CDE.JustDMAndMe" }}</option>
<option value="2">{{ localize "CDE.DMOnly" }}</option>
<option value="3">{{ localize "CDE.MeOnly" }}</option>
{{/select}}
</select>
</td>
</tr>
</table>
{{!-- Part 1: Magic Skill Roll --}}
<div class="cde-roll-section cde-roll-section--separator">
<p class="cde-roll-section-title">① {{ localize "CDE.OneMagicRoll" }}</p>
<div class="cde-roll-dice-count">{{ numberofdice }}<span class="cde-roll-dice-label">d10 +1</span></div>
<div class="cde-roll-fields">
<div class="cde-roll-field">
<label>{{ localize "CDE.AspectSkill" }}</label>
<select name="aspectskill">
<option value="0" {{#if (eq aspectskill 0)}}selected{{/if}}>{{ localize "CDE.Metal" }}</option>
<option value="1" {{#if (eq aspectskill 1)}}selected{{/if}}>{{ localize "CDE.Water" }}</option>
<option value="2" {{#if (eq aspectskill 2)}}selected{{/if}}>{{ localize "CDE.Earth" }}</option>
<option value="3" {{#if (eq aspectskill 3)}}selected{{/if}}>{{ localize "CDE.Fire" }}</option>
<option value="4" {{#if (eq aspectskill 4)}}selected{{/if}}>{{ localize "CDE.Wood" }}</option>
</select>
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusMalus" }}</label>
<input class="cde-roll-input" type="number" name="bonusmalusskill" value="{{bonusmalusskill}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusAuspiciousDice" }}</label>
<input class="cde-roll-input" type="number" name="bonusauspiciousdice" min="0" max="15" value="{{bonusauspiciousdice}}" />
</div>
</div>
<p class="cde-roll-hint"><i>{{ localize "CDE.DoNotModify" }}</i></p>
</div>
</div>
</section>
</form>
{{!-- Part 2: Spell Power Roll --}}
<div class="cde-roll-section cde-roll-section--separator">
<p class="cde-roll-section-title">② {{ localize "CDE.TwoPowerOfSpell" }}</p>
<div class="cde-roll-fields">
<div class="cde-roll-field">
<label>{{ localize "CDE.AspectSpeciality" }}</label>
<select name="aspectspeciality">
<option value="0" {{#if (eq aspectspeciality 0)}}selected{{/if}}>{{ localize "CDE.Metal" }}</option>
<option value="1" {{#if (eq aspectspeciality 1)}}selected{{/if}}>{{ localize "CDE.Water" }}</option>
<option value="2" {{#if (eq aspectspeciality 2)}}selected{{/if}}>{{ localize "CDE.Earth" }}</option>
<option value="3" {{#if (eq aspectspeciality 3)}}selected{{/if}}>{{ localize "CDE.Fire" }}</option>
<option value="4" {{#if (eq aspectspeciality 4)}}selected{{/if}}>{{ localize "CDE.Wood" }}</option>
</select>
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.RollDifficulty" }} (×)</label>
<input class="cde-roll-input" type="number" name="rolldifficulty" value="{{rolldifficulty}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusMalus" }}</label>
<input class="cde-roll-input" type="number" name="bonusmalusspeciality" value="{{bonusmalusspeciality}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.HeiSpend" }}</label>
<input class="cde-roll-input" type="number" name="heispend" min="0" value="{{heispend}}" />
</div>
</div>
<p class="cde-roll-hint"><i>{{ localize "CDE.DoNotModify" }}</i></p>
</div>
{{!-- Visibility --}}
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.TypeOfThrow" }}</label>
<select name="typeofthrow">
<option value="0" {{#if (eq typeofthrow 0)}}selected{{/if}}>{{ localize "CDE.Everybody" }}</option>
<option value="1" {{#if (eq typeofthrow 1)}}selected{{/if}}>{{ localize "CDE.JustDMAndMe" }}</option>
<option value="2" {{#if (eq typeofthrow 2)}}selected{{/if}}>{{ localize "CDE.DMOnly" }}</option>
<option value="3" {{#if (eq typeofthrow 3)}}selected{{/if}}>{{ localize "CDE.MeOnly" }}</option>
</select>
</div>
</div>
</div>

View File

@@ -1,102 +1,45 @@
<form class="flexcol {{cssClass}}" autocomplete="off">
<header class="sheet-header">
<div class="name">
<label><b>{{ localize "CDE.SkillPromptName" }}</b></label>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body" style="background-image: url('/systems/fvtt-chroniques-de-l-etrange/images/cde_fond_transp.png')";
>
<div class="cde-roll-prompt {{cssClass}}">
{{!-- Frame --}}
<div class="frame">
<div class="cde-roll-header">
<span class="cde-roll-title">{{ localize "CDE.SkillPromptName" }}</span>
<span class="cde-roll-dice-count">{{ numberofdice }}<span class="cde-roll-dice-label">d10</span></span>
</div>
<table style="border: 0px; background-color: transparent;" >
<tr style="background-color: transparent;">
<td class="label col1-5">&nbsp;</td>
<td class="image col2-5">
<!-- style="display: flex; justify-content: center; align-items: center;" -->
<div style="display: flex; justify-content: center; align-items: center;">
<img class="bigsquare" style="border: 0px; z-index: 4;" src="systems/fvtt-chroniques-de-l-etrange/images/bigsquare.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 30px; text-align: center; margin-top: -47px; z-index: 4;"><b>{{ numberofdice }}</b></span>
</div>
</td>
<td class="label col3-5">&nbsp;</td>
<td class="label col4-5" style="font-size: 30px"><b>&nbsp;+&nbsp;</b></td>
<td class="label col5-5">&nbsp;</td>
</tr>
</table>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<td class="label col1-3">{{ localize "CDE.Aspect" }}</td>
<td class="label col2-3">&nbsp;</td>
<td class="label col3-3">{{ localize "CDE.BonusMalus" }}</td>
</tr>
<tr style="background-color: transparent;">
<td class="select col1-3">
<select name="aspect">
{{#select aspect }}
<option value="0">{{ localize "CDE.Metal" }}</option>
<option value="1">{{ localize "CDE.Water" }}</option>
<option value="2">{{ localize "CDE.Earth" }}</option>
<option value="3">{{ localize "CDE.Fire" }}</option>
<option value="4">{{ localize "CDE.Wood" }}</option>
{{/select}}
</select>
</td>
<td class="label col2-3" style="font-size: 25px">&nbsp;+&nbsp;</td>
<td class="value col3-3"><input class="input" style="text-align: center; width: 60px;" type="number" name="bonusmalus" value="{{bonusmalus}}"/></td>
</tr style="background-color: transparent;">
</table>
<table style="border: 0px; background-color: transparent;">
<tr>
<td class="label col123 totheleft">{{ localize "CDE.BonusAuspiciousDice" }}</td>
</tr>
<tr style="background-color: transparent;">
<td class="select col1-1">
<select name="bonusauspiciousdice">
{{#select bonusauspiciousdice }}
<option value="0">0</option>
<option value="1">+1&nbsp;{{ localize "CDE.AuspiciousDie" }}</option>
<option value="2">+2&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="3">+3&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="4">+4&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="5">+5&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="6">+6&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="7">+7&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="8">+8&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="9">+9&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="10">+10&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="11">+11&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="12">+12&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="13">+13&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="14">+14&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="15">+15&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
{{/select}}
</select>
</td>
</tr>
</table>
<br>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<b>{{ localize "CDE.TypeOfThrow" }}</b>
<td class="select col 1-2">
<select name="typeofthrow">
{{#select typeofthrow }}
<option value="0">{{ localize "CDE.Everybody" }}</option>
<option value="1">{{ localize "CDE.JustDMAndMe" }}</option>
<option value="2">{{ localize "CDE.DMOnly" }}</option>
<option value="3">{{ localize "CDE.MeOnly" }}</option>
{{/select}}
</select>
</td>
</tr>
</table>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.Aspect" }}</label>
<select name="aspect">
<option value="0" {{#if (eq aspect 0)}}selected{{/if}}>{{ localize "CDE.Metal" }}</option>
<option value="1" {{#if (eq aspect 1)}}selected{{/if}}>{{ localize "CDE.Water" }}</option>
<option value="2" {{#if (eq aspect 2)}}selected{{/if}}>{{ localize "CDE.Earth" }}</option>
<option value="3" {{#if (eq aspect 3)}}selected{{/if}}>{{ localize "CDE.Fire" }}</option>
<option value="4" {{#if (eq aspect 4)}}selected{{/if}}>{{ localize "CDE.Wood" }}</option>
</select>
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusMalus" }}</label>
<input class="cde-roll-input" type="number" name="bonusmalus" value="{{bonusmalus}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.WoundMalus" }}</label>
<input class="cde-roll-input" type="number" name="woundmalus" value="{{woundmalus}}" />
</div>
</div>
</div>
</section>
</form>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusAuspiciousDice" }}</label>
<input class="cde-roll-input" type="number" name="bonusauspiciousdice" min="0" max="15" value="{{bonusauspiciousdice}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.TypeOfThrow" }}</label>
<select name="typeofthrow">
<option value="0" {{#if (eq typeofthrow 0)}}selected{{/if}}>{{ localize "CDE.Everybody" }}</option>
<option value="1" {{#if (eq typeofthrow 1)}}selected{{/if}}>{{ localize "CDE.JustDMAndMe" }}</option>
<option value="2" {{#if (eq typeofthrow 2)}}selected{{/if}}>{{ localize "CDE.DMOnly" }}</option>
<option value="3" {{#if (eq typeofthrow 3)}}selected{{/if}}>{{ localize "CDE.MeOnly" }}</option>
</select>
</div>
</div>
</div>

View File

@@ -1,102 +1,45 @@
<form class="flexcol {{cssClass}}" autocomplete="off">
<header class="sheet-header">
<div class="name">
<label><b>{{ localize "CDE.SkillPromptName" }}</b></label>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body" style="background-image: url('/systems/fvtt-chroniques-de-l-etrange/images/cde_fond_transp.png')";
>
<div class="cde-roll-prompt {{cssClass}}">
{{!-- Frame --}}
<div class="frame">
<div class="cde-roll-header">
<span class="cde-roll-title">{{ localize "CDE.SkillPromptName" }}</span>
<span class="cde-roll-dice-count">{{ numberofdice }}<span class="cde-roll-dice-label">d10 +1</span></span>
</div>
<table style="border: 0px; background-color: transparent;" >
<tr style="background-color: transparent;">
<td class="label col1-5" style="width: 20%;">&nbsp;</td>
<td class="image col2-5">
<!-- style="display: flex; justify-content: center; align-items: center;" -->
<div style="display: flex; justify-content: center; align-items: center;">
<img class="bigsquare" style="border: 0px; z-index: 4;" src="systems/fvtt-chroniques-de-l-etrange/images/bigsquare.png" />
</div>
<div style="display: flex; justify-content: center; align-items: center;">
<span class="value" style="font-size: 30px; text-align: center; margin-top: -47px; z-index: 4;"><b>{{ numberofdice }}</b></span>
</div>
</td>
<td class="label col3-5">&nbsp;</td>
<td class="label col4-5" style="font-size: 30px"><b>&nbsp;+&nbsp;</b><b>1&nbsp;+</b></td>
<td class="label col5-5">&nbsp;</td>
</tr>
</table>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<td class="label col1-3">{{ localize "CDE.Aspect" }}</td>
<td class="label col2-3">&nbsp;</td>
<td class="label col3-3">{{ localize "CDE.BonusMalus" }}</td>
</tr>
<tr style="background-color: transparent;">
<td class="select col1-3">
<select name="aspect">
{{#select aspect }}
<option value="0">{{ localize "CDE.Metal" }}</option>
<option value="1">{{ localize "CDE.Water" }}</option>
<option value="2">{{ localize "CDE.Earth" }}</option>
<option value="3">{{ localize "CDE.Fire" }}</option>
<option value="4">{{ localize "CDE.Wood" }}</option>
{{/select}}
</select>
</td>
<td class="label col2-3" style="font-size: 25px">&nbsp;+&nbsp;</td>
<td class="value col3-3"><input class="input" style="text-align: center; width: 60px;" type="number" name="bonusmalus" value="{{bonusmalus}}"/></td>
</tr style="background-color: transparent;">
</table>
<table style="border: 0px; background-color: transparent;">
<tr>
<td class="label col123 totheleft">{{ localize "CDE.BonusAuspiciousDice" }}</td>
</tr>
<tr style="background-color: transparent;">
<td class="select col1-1">
<select name="bonusauspiciousdice">
{{#select bonusauspiciousdice }}
<option value="0">0</option>
<option value="1">+1&nbsp;{{ localize "CDE.AuspiciousDie" }}</option>
<option value="2">+2&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="3">+3&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="4">+4&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="5">+5&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="6">+6&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="7">+7&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="8">+8&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="9">+9&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="10">+10&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="11">+11&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="12">+12&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="13">+13&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="14">+14&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
<option value="15">+15&nbsp;{{ localize "CDE.AuspiciousDice" }}</option>
{{/select}}
</select>
</td>
</tr>
</table>
<br>
<table style="border: 0px; background-color: transparent;">
<tr style="background-color: transparent;">
<b>{{ localize "CDE.TypeOfThrow" }}</b>
<td class="select col 1-2">
<select name="typeofthrow">
{{#select typeofthrow }}
<option value="0">{{ localize "CDE.Everybody" }}</option>
<option value="1">{{ localize "CDE.JustDMAndMe" }}</option>
<option value="2">{{ localize "CDE.DMOnly" }}</option>
<option value="3">{{ localize "CDE.MeOnly" }}</option>
{{/select}}
</select>
</td>
</tr>
</table>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.Aspect" }}</label>
<select name="aspect">
<option value="0" {{#if (eq aspect 0)}}selected{{/if}}>{{ localize "CDE.Metal" }}</option>
<option value="1" {{#if (eq aspect 1)}}selected{{/if}}>{{ localize "CDE.Water" }}</option>
<option value="2" {{#if (eq aspect 2)}}selected{{/if}}>{{ localize "CDE.Earth" }}</option>
<option value="3" {{#if (eq aspect 3)}}selected{{/if}}>{{ localize "CDE.Fire" }}</option>
<option value="4" {{#if (eq aspect 4)}}selected{{/if}}>{{ localize "CDE.Wood" }}</option>
</select>
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusMalus" }}</label>
<input class="cde-roll-input" type="number" name="bonusmalus" value="{{bonusmalus}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.WoundMalus" }}</label>
<input class="cde-roll-input" type="number" name="woundmalus" value="{{woundmalus}}" />
</div>
</div>
</div>
</section>
</form>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusAuspiciousDice" }}</label>
<input class="cde-roll-input" type="number" name="bonusauspiciousdice" min="0" max="15" value="{{bonusauspiciousdice}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.TypeOfThrow" }}</label>
<select name="typeofthrow">
<option value="0" {{#if (eq typeofthrow 0)}}selected{{/if}}>{{ localize "CDE.Everybody" }}</option>
<option value="1" {{#if (eq typeofthrow 1)}}selected{{/if}}>{{ localize "CDE.JustDMAndMe" }}</option>
<option value="2" {{#if (eq typeofthrow 2)}}selected{{/if}}>{{ localize "CDE.DMOnly" }}</option>
<option value="3" {{#if (eq typeofthrow 3)}}selected{{/if}}>{{ localize "CDE.MeOnly" }}</option>
</select>
</div>
</div>
</div>

View File

@@ -0,0 +1,80 @@
<div class="cde-roll-prompt cde-weapon-prompt {{cssClass}}">
{{!-- Weapon identity bar --}}
<div class="cde-weapon-info-bar">
<img class="cde-weapon-aspect-icon" src="{{weaponAspectIcon}}" alt="{{weaponAspectLabel}}" />
<div class="cde-weapon-info-text">
<span class="cde-weapon-info-name">{{weaponName}}</span>
<span class="cde-weapon-info-meta">{{ localize weaponTypeLabel }} · {{ localize "CDE.DamageBase" }}: {{damageBase}}</span>
</div>
<div class="cde-weapon-info-badge">
<i class="fas fa-dice-d10"></i>
</div>
</div>
<div class="cde-roll-header">
<span class="cde-roll-title">{{ localize "CDE.WeaponRollTitle" }}</span>
<span class="cde-roll-dice-count">{{numberofdice}}<span class="cde-roll-dice-label">d10</span></span>
</div>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.Skill" }}</label>
<select name="weaponskill">
<option value="kungfu" {{#if (eq weaponskill "kungfu")}}selected{{/if}}>{{ localize "CDE.KungFu" }}</option>
<option value="rangedcombat" {{#if (eq weaponskill "rangedcombat")}}selected{{/if}}>{{ localize "CDE.RangedCombat" }}</option>
</select>
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.Aspect" }}</label>
<select name="aspect">
<option value="0" {{#if (eq aspect 0)}}selected{{/if}}>{{ localize "CDE.Metal" }}</option>
<option value="1" {{#if (eq aspect 1)}}selected{{/if}}>{{ localize "CDE.Water" }}</option>
<option value="2" {{#if (eq aspect 2)}}selected{{/if}}>{{ localize "CDE.Earth" }}</option>
<option value="3" {{#if (eq aspect 3)}}selected{{/if}}>{{ localize "CDE.Fire" }}</option>
<option value="4" {{#if (eq aspect 4)}}selected{{/if}}>{{ localize "CDE.Wood" }}</option>
</select>
</div>
</div>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.EffectiveRange" }}</label>
<select name="effectiverange">
<option value="contact" {{#if (eq effectiverange "contact")}}selected{{/if}}>{{ localize "CDE.RangeContact" }} (±0)</option>
<option value="courte" {{#if (eq effectiverange "courte") }}selected{{/if}}>{{ localize "CDE.RangeCourte" }} (±0)</option>
<option value="mediane" {{#if (eq effectiverange "mediane")}}selected{{/if}}>{{ localize "CDE.RangeMediane" }} (1)</option>
<option value="longue" {{#if (eq effectiverange "longue") }}selected{{/if}}>{{ localize "CDE.RangeLongue" }} (2)</option>
<option value="extreme" {{#if (eq effectiverange "extreme")}}selected{{/if}}>{{ localize "CDE.RangeExtreme" }} (3)</option>
</select>
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusMalus" }}</label>
<input class="cde-roll-input" type="number" name="bonusmalus" value="{{bonusmalus}}" />
</div>
</div>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.WoundMalus" }}</label>
<input class="cde-roll-input" type="number" name="woundmalus" value="{{woundmalus}}" />
</div>
<div class="cde-roll-field">
<label>{{ localize "CDE.BonusAuspiciousDice" }}</label>
<input class="cde-roll-input" type="number" name="bonusauspiciousdice" min="0" max="15" value="{{bonusauspiciousdice}}" />
</div>
</div>
<div class="cde-roll-section">
<div class="cde-roll-field">
<label>{{ localize "CDE.TypeOfThrow" }}</label>
<select name="typeofthrow">
<option value="0" {{#if (eq typeofthrow 0)}}selected{{/if}}>{{ localize "CDE.Everybody" }}</option>
<option value="1" {{#if (eq typeofthrow 1)}}selected{{/if}}>{{ localize "CDE.JustDMAndMe" }}</option>
<option value="2" {{#if (eq typeofthrow 2)}}selected{{/if}}>{{ localize "CDE.DMOnly" }}</option>
<option value="3" {{#if (eq typeofthrow 3)}}selected{{/if}}>{{ localize "CDE.MeOnly" }}</option>
</select>
</div>
</div>
</div>