reroll OK
This commit is contained in:
@@ -1,23 +1,73 @@
|
||||
<div class="grid grid-2col">
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize "VERMINE.self_control"}}</h4>
|
||||
<p class="align-center">
|
||||
<input type="number" name="system.attributes.self_control.value"
|
||||
value="{{ system.attributes.self_control.value }}" data-dtype="Number"
|
||||
min="{{ system.attributes.self_control.min }}"
|
||||
max="{{ system.attributes.self_control.max }}" /> / {{
|
||||
system.attributes.self_control.max }}
|
||||
</p>
|
||||
<h4 class="align-center">{{ localize "VERMINE.self_control"}} :
|
||||
{{@root.system.attributes.self_control.value}}/
|
||||
{{@root.system.attributes.self_control.max}}
|
||||
</h4>
|
||||
|
||||
<div class="flexrow">
|
||||
{{#repeat 10 1}}
|
||||
<div class="hexa
|
||||
{{#iflteq @index @root.system.attributes.self_control.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
{{#ifgt @index @root.system.attributes.self_control.max }}
|
||||
unavailable
|
||||
{{/ifgt}}">
|
||||
{{#iflteq @index @root.system.attributes.self_control.max }}
|
||||
<input type="radio" data-dtype="Number"
|
||||
name="system.attributes.self_control.value"
|
||||
value="{{@index}}" {{#ife @root.system.attributes.self_control.value
|
||||
@index
|
||||
}}checked="checked"{{/ife}}
|
||||
class="
|
||||
{{#iflteq @index @root.system.attributes.self_control.max }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/iflteq}}
|
||||
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize "VERMINE.effort"}}</h4>
|
||||
<p class="align-center">
|
||||
<input type="number" name="system.attributes.effort.value"
|
||||
value="{{ system.attributes.effort.value }}" data-dtype="Number"
|
||||
min="{{ system.attributes.effort.min }}"
|
||||
max="{{ system.attributes.effort.max }}" /> / {{
|
||||
system.attributes.effort.max }}
|
||||
</p>
|
||||
<h4 class="align-center">{{ localize "VERMINE.effort"}} :
|
||||
{{@root.system.attributes.effort.value}}/
|
||||
{{@root.system.attributes.effort.max}}
|
||||
</h4>
|
||||
|
||||
<div class="flexrow">
|
||||
{{#repeat 10 1}}
|
||||
<div
|
||||
class="hexa
|
||||
{{#iflteq @index @root.system.attributes.effort.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
{{#ifgt @index @root.system.attributes.effort.max }}
|
||||
unavailable
|
||||
{{/ifgt}}">
|
||||
{{#iflteq @index @root.system.attributes.effort.max }}
|
||||
<input type="radio" data-dtype="Number"
|
||||
name="system.attributes.effort.value"
|
||||
value="{{@index}}" {{#ife @root.system.attributes.effort.value
|
||||
@index
|
||||
}}checked="checked"{{/ife}}
|
||||
class="
|
||||
{{#iflteq @index @root.system.attributes.effort.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/iflteq}}
|
||||
|
||||
</div>
|
||||
{{#ife @index 1}}
|
||||
<br />
|
||||
{{/ife}}
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="item-name effect-name flexrow">{{ localize
|
||||
@@ -26,46 +76,65 @@
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.light'}} <span
|
||||
data-tooltip="seuil">({{
|
||||
system.minorWound.threshold }})</span>
|
||||
{{#repeat system.minorWound.max 1}}
|
||||
<input type="radio" data-dtype="Number" name="system.minorWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.minorWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="minorWound"
|
||||
class="
|
||||
<div class="flexrow">
|
||||
{{#repeat system.minorWound.max 1}}
|
||||
<div class="hexa ability{{#iflteq @index @root.system.minorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}">
|
||||
<input type="radio" data-dtype="Number" name="system.minorWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.minorWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="minorWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.minorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/repeat}}</li>
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.heavy'}} ({{
|
||||
system.majorWound.threshold }})
|
||||
{{#repeat system.majorWound.max 1}}
|
||||
<input type="radio" name="system.majorWound.value" value="{{@index}}" {{#ife
|
||||
@root.system.majorWound.value @index }}checked="checked"{{/ife}}
|
||||
data-wound="majorWound"
|
||||
class="
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</li>
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.heavy'}}
|
||||
<span>({{
|
||||
system.majorWound.threshold }})</span>
|
||||
<div class="flexrow">
|
||||
{{#repeat system.majorWound.max 1}}
|
||||
<div class="hexa ability{{#iflteq @index @root.system.majorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}">
|
||||
<input type="radio" data-dtype="Number" name="system.majorWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.majorWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="majorWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.majorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/repeat}}
|
||||
</div>
|
||||
{{/repeat}}
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.deadly'}} ({{
|
||||
system.deadlyWound.threshold }})
|
||||
{{#repeat system.deadlyWound.max 1}}
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.deadly'}}
|
||||
<span>({{system.deadlyWound.threshold }})</span>
|
||||
<div class="flexrow">
|
||||
{{#repeat system.deadlyWound.max 1}}
|
||||
<div class="hexa ability{{#iflteq @index @root.system.deadlyWound.value }}
|
||||
checked
|
||||
{{/iflteq}}">
|
||||
<input type="radio" data-dtype="Number" name="system.deadlyWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.deadlyWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="deadlyWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.deadlyWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
<input type="radio" name="system.deadlyWound.value" value="{{@index}}"
|
||||
{{#ife
|
||||
@root.system.deadlyWound.value @index }}checked="checked"{{/ife}}
|
||||
data-wound="deadlyWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.deadlyWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/repeat}}
|
||||
" />
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="item-name effect-name flexrow">{{ localize "UI.effects.name"}}</h4>
|
||||
|
||||
Reference in New Issue
Block a user