ajout des valeurs de combatStatus en config et sur perso
This commit is contained in:
@@ -252,4 +252,9 @@ VERMINE.damageTypes = [
|
|||||||
"feu",
|
"feu",
|
||||||
"balle"
|
"balle"
|
||||||
];
|
];
|
||||||
|
VERMINE.combatStatus = {
|
||||||
|
offensif: 5,
|
||||||
|
actif: 7,
|
||||||
|
passif: 9
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,19 @@
|
|||||||
<div class="grid grid-2col">
|
<div class="align-center">
|
||||||
|
<h4>situation de combat par défaut</h4>
|
||||||
|
<div class="flexrow align-center combat-status">
|
||||||
|
{{#each config.combatStatus as |dif label|}}
|
||||||
|
<div>
|
||||||
|
<label for="combatStatus1">{{label}}</label>
|
||||||
|
<input type="radio" style="width:1rem"
|
||||||
|
name="system.combatStatus.difficulty"
|
||||||
|
id="combatStatus1"
|
||||||
|
value="{{dif}}"
|
||||||
|
{{#ife @root.system.combatStatus.difficulty dif}}checked {{/ife}}>
|
||||||
|
</div>
|
||||||
|
{{/each}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid grid-3col">
|
||||||
<div class="self-control-container flexcol align-center">
|
<div class="self-control-container flexcol align-center">
|
||||||
<h4 class="align-center">
|
<h4 class="align-center">
|
||||||
|
|
||||||
@@ -78,20 +93,22 @@
|
|||||||
{{/repeat}}
|
{{/repeat}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="blessure-container flexcol align-center">
|
||||||
<h4 class="item-name flexrow">{{ localize
|
<h4 class="item-name flexrow">{{ localize
|
||||||
"VERMINE.wounds.name"}}</h4>
|
"VERMINE.wounds.name"}}</h4>
|
||||||
<ul class="unstyled">
|
<ul class="unstyled">
|
||||||
<li class="row mdb">{{ localize 'VERMINE.wounds.light'}} <span
|
<li class="row mdb align-center">{{ localize
|
||||||
|
'VERMINE.wounds.light'}} <span
|
||||||
data-tooltip="seuil">({{
|
data-tooltip="seuil">({{
|
||||||
system.minorWound.threshold }})</span>
|
system.minorWound.threshold }})</span>
|
||||||
<div class="flexrow">
|
<div class="flexrow align-center">
|
||||||
{{#repeat system.minorWound.max 1 "minorwoundmax"}}
|
{{#repeat system.minorWound.max 1 "minorwoundmax"}}
|
||||||
<div
|
<div
|
||||||
class="hexa ability{{#iflteq @minorwoundmax @root.system.minorWound.value }}
|
class="hexa ability{{#iflteq @minorwoundmax @root.system.minorWound.value }}
|
||||||
checked
|
checked
|
||||||
{{/iflteq}}">
|
{{/iflteq}}">
|
||||||
<input type="radio" data-dtype="Number" name="system.minorWound.value"
|
<input type="radio" data-dtype="Number"
|
||||||
|
name="system.minorWound.value"
|
||||||
value="{{@minorwoundmax}}" data-wound="minorWound"
|
value="{{@minorwoundmax}}" data-wound="minorWound"
|
||||||
class="
|
class="
|
||||||
{{#iflteq @minorwoundmax @root.system.minorWound.value }}
|
{{#iflteq @minorwoundmax @root.system.minorWound.value }}
|
||||||
@@ -105,16 +122,18 @@
|
|||||||
{{/repeat}}
|
{{/repeat}}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="row mdb">{{ localize 'VERMINE.wounds.heavy'}}
|
<li class="row mdb align-center">{{ localize
|
||||||
|
'VERMINE.wounds.heavy'}}
|
||||||
<span>({{
|
<span>({{
|
||||||
system.majorWound.threshold }})</span>
|
system.majorWound.threshold }})</span>
|
||||||
<div class="flexrow">
|
<div class="flexrow align-center">
|
||||||
{{#repeat system.majorWound.max 1 "majourwoundmax"}}
|
{{#repeat system.majorWound.max 1 "majourwoundmax"}}
|
||||||
<div
|
<div
|
||||||
class="hexa ability{{#iflteq @majourwoundmax @root.system.majorWound.value }}
|
class="hexa ability{{#iflteq @majourwoundmax @root.system.majorWound.value }}
|
||||||
checked
|
checked
|
||||||
{{/iflteq}}">
|
{{/iflteq}}">
|
||||||
<input type="radio" data-dtype="Number" name="system.majorWound.value"
|
<input type="radio" data-dtype="Number"
|
||||||
|
name="system.majorWound.value"
|
||||||
value="{{@majourwoundmax}}" data-wound="majorWound"
|
value="{{@majourwoundmax}}" data-wound="majorWound"
|
||||||
class="
|
class="
|
||||||
{{#iflteq @majourwoundmax @root.system.majorWound.value }}
|
{{#iflteq @majourwoundmax @root.system.majorWound.value }}
|
||||||
@@ -131,16 +150,18 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="row mdb">{{ localize 'VERMINE.wounds.deadly'}}
|
<li class="row mdb align-center">{{ localize
|
||||||
|
'VERMINE.wounds.deadly'}}
|
||||||
<span>({{
|
<span>({{
|
||||||
system.deadlyWound.threshold }})</span>
|
system.deadlyWound.threshold }})</span>
|
||||||
<div class="flexrow">
|
<div class="flexrow align-center">
|
||||||
{{#repeat system.deadlyWound.max 1 "deadlywoundmax"}}
|
{{#repeat system.deadlyWound.max 1 "deadlywoundmax"}}
|
||||||
<div
|
<div
|
||||||
class="hexa ability{{#iflteq @deadlywoundmax @root.system.deadlyWound.value }}
|
class="hexa ability{{#iflteq @deadlywoundmax @root.system.deadlyWound.value }}
|
||||||
checked
|
checked
|
||||||
{{/iflteq}}">
|
{{/iflteq}}">
|
||||||
<input type="radio" data-dtype="Number" name="system.deadlyWound.value"
|
<input type="radio" data-dtype="Number"
|
||||||
|
name="system.deadlyWound.value"
|
||||||
value="{{@deadlywoundmax}}" data-wound="deadlyWound"
|
value="{{@deadlywoundmax}}" data-wound="deadlyWound"
|
||||||
class="
|
class="
|
||||||
{{#iflteq @deadlywoundmax @root.system.deadlyWound.value }}
|
{{#iflteq @deadlywoundmax @root.system.deadlyWound.value }}
|
||||||
@@ -157,6 +178,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h4 class="item-name effect-name flexrow">{{ localize "UI.effects.name"}}</h4>
|
<h4 class="item-name effect-name flexrow">{{ localize "UI.effects.name"}}</h4>
|
||||||
<ol class="items-list effects-list">
|
<ol class="items-list effects-list">
|
||||||
{{#each effects as |section sid|}}
|
{{#each effects as |section sid|}}
|
||||||
|
|||||||
Reference in New Issue
Block a user