feat: capacités de créature, blessures séquentielles et refonte fiche Groupe
- Nouvel item Capacité de créature (creaturecapacity) : DataModel, fiche AppV2, chat card, types Base/Survie/Cauchemar/Apocalypse, liste sur l'onglet Informations de la créature avec drag&drop et post au chat. - Blessures : coches séquentielles respectant la gravité (onClickWound), malus de blessure -1D/-2D/-3D appliqué aux jets (Règles p.42), montée en gravité automatique si les cercles sont pleins. - Fiche Groupe : objectifs majeurs/mineurs éditables, liste de membres simplifiée, notes de voyage (roadNotes), totem qui remplit instinct/interdits, refonte visuelle des onglets. - Créature : Réaction lançable, seuils/cercles de blessures corrigés (Taille cumulée, Groupe sans seuil), libellés Taille/Meute. - Corrections : icône de carte de chat plafonnée à 64px, slash orphelin d'entrave à 0, notes de matériel du Groupe éditable (formInput), bonus de Réaction non double-compté. - Divers : suppression des captures de débogage, licence README.
This commit is contained in:
@@ -39,31 +39,43 @@
|
||||
<ul class="unstyled">
|
||||
<li class="row mdb">
|
||||
{{ localize 'VERMINE.wounds.light' }} ({{ system.minorWound.threshold }}D)
|
||||
{{#repeat system.minorWound.max }}
|
||||
<input type="radio" data-dtype="Number" name="system.minorWound.value"
|
||||
value="{{this}}" data-action="clickRadio" data-wound="minorWound"
|
||||
{{#ife @root.system.minorWound.value this }}checked="checked"{{/ife}}
|
||||
class="{{#iflteq this @root.system.minorWound.value }}checked{{/iflteq}}"
|
||||
/>
|
||||
{{/repeat}}
|
||||
<div class="flexrow align-center">
|
||||
{{#repeat system.minorWound.max 1 "minorwoundmax"}}
|
||||
<div class="hexa ability{{#iflteq @minorwoundmax @root.system.minorWound.value }} checked{{/iflteq}}">
|
||||
<input type="radio" data-dtype="Number" name="system.minorWound.value"
|
||||
value="{{@minorwoundmax}}" data-action="clickWound" data-wound="minorWound"
|
||||
class="{{#iflteq @minorwoundmax @root.system.minorWound.value }}checked{{/iflteq}}"
|
||||
{{#ife @minorwoundmax @root.system.minorWound.value }}checked="checked"{{/ife}}
|
||||
/>
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</li>
|
||||
<li class="row mdb">
|
||||
{{ localize 'VERMINE.wounds.heavy' }} ({{ system.majorWound.threshold }}D)
|
||||
{{#repeat system.majorWound.max }}
|
||||
<input type="radio" name="system.majorWound.value" value="{{this}}" data-action="clickRadio" data-wound="majorWound"
|
||||
{{#ife @root.system.majorWound.value this }}checked="checked"{{/ife}}
|
||||
class="{{#iflteq this @root.system.majorWound.value }}checked{{/iflteq}}"
|
||||
/>
|
||||
{{/repeat}}
|
||||
<div class="flexrow align-center">
|
||||
{{#repeat system.majorWound.max 1 "majorwoundmax"}}
|
||||
<div class="hexa ability{{#iflteq @majorwoundmax @root.system.majorWound.value }} checked{{/iflteq}}">
|
||||
<input type="radio" name="system.majorWound.value" value="{{@majorwoundmax}}" data-action="clickWound" data-wound="majorWound"
|
||||
class="{{#iflteq @majorwoundmax @root.system.majorWound.value }}checked{{/iflteq}}"
|
||||
{{#ife @majorwoundmax @root.system.majorWound.value }}checked="checked"{{/ife}}
|
||||
/>
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</li>
|
||||
<li class="row mdb">
|
||||
{{ localize 'VERMINE.wounds.deadly' }} ({{ system.deadlyWound.threshold }}D)
|
||||
{{#repeat system.deadlyWound.max }}
|
||||
<input type="radio" name="system.deadlyWound.value" value="{{this}}" data-action="clickRadio" data-wound="deadlyWound"
|
||||
{{#ife @root.system.deadlyWound.value this }}checked="checked"{{/ife}}
|
||||
class="{{#iflteq this @root.system.deadlyWound.value }}checked{{/iflteq}}"
|
||||
/>
|
||||
{{/repeat}}
|
||||
<div class="flexrow align-center">
|
||||
{{#repeat system.deadlyWound.max 1 "deadlywoundmax"}}
|
||||
<div class="hexa ability{{#iflteq @deadlywoundmax @root.system.deadlyWound.value }} checked{{/iflteq}}">
|
||||
<input type="radio" name="system.deadlyWound.value" value="{{@deadlywoundmax}}" data-action="clickWound" data-wound="deadlyWound"
|
||||
class="{{#iflteq @deadlywoundmax @root.system.deadlyWound.value }}checked{{/iflteq}}"
|
||||
{{#ife @deadlywoundmax @root.system.deadlyWound.value }}checked="checked"{{/ife}}
|
||||
/>
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user