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:
@@ -1,45 +1,45 @@
|
||||
<div class="tab combat sheet-part {{#if @root.tabs.combat.active}}active{{/if}}" data-group="sheet" data-tab="combat">
|
||||
{{> "systems/vermine2047/templates/actor/parts/actor-equipped-gear.hbs"}}
|
||||
<h4 class="item-name effect-name flexrow">{{ localize "VERMINE.wounds.name"}}</h4>
|
||||
<ul class="unstyled">
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.light'}} ({{
|
||||
system.minorWound.threshold }})
|
||||
<div class="flexrow align-center">
|
||||
<div class="npc-wounds flexrow">
|
||||
<span class="wound-cat">
|
||||
<span class="wound-label">{{ localize 'VERMINE.wounds.light'}} ({{ system.minorWound.threshold }})</span>
|
||||
<span class="wound-boxes">
|
||||
{{#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="clickRadio" data-wound="minorWound"
|
||||
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 }})
|
||||
<div class="flexrow align-center">
|
||||
</span>
|
||||
</span>
|
||||
<span class="wound-cat">
|
||||
<span class="wound-label">{{ localize 'VERMINE.wounds.heavy'}} ({{ system.majorWound.threshold }})</span>
|
||||
<span class="wound-boxes">
|
||||
{{#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="clickRadio" data-wound="majorWound"
|
||||
<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 }})
|
||||
<div class="flexrow align-center">
|
||||
</span>
|
||||
</span>
|
||||
<span class="wound-cat">
|
||||
<span class="wound-label">{{ localize 'VERMINE.wounds.deadly'}} ({{ system.deadlyWound.threshold }})</span>
|
||||
<span class="wound-boxes">
|
||||
{{#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="clickRadio" data-wound="deadlyWound"
|
||||
<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>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<h4 class="item-name effect-name flexrow">{{ localize "UI.effects.name"}}</h4>
|
||||
<ol class="items-list effects-list">
|
||||
{{#each effects as |section sid|}}
|
||||
|
||||
Reference in New Issue
Block a user