mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Set up DhLevelTier datamodel * Added Levelup data model and started at the render * Fixed data handling in the LevelUp view * Added back the save function * Finalised levelup selections and propagating to PC * Added level advancement selection data * Added DomainCard selection * Css merge commit * Added PC level/delevel benefits of leveling up * Fixed sticky previous selections on continous leveling * Fixed up Summary. Fixed multiclass/subclass blocking on selection * Removed unused level.hbs * Fixed attribute base for PC * Improved naming of attribute properties * Renamed/structured resources/evasion/proficiency * Improved trait marking * Rework to level up once at a time * Added markers * Removed tabs when in Summary * Fixed multilevel buttons * Improved multiclass/subclass recognition * Fixed tagify error on selection * Review fixes
31 lines
No EOL
1.6 KiB
Handlebars
31 lines
No EOL
1.6 KiB
Handlebars
<fieldset class="left-main-container">
|
|
<legend class="legend">{{localize "Defense"}}</legend>
|
|
|
|
<div class="defense-row">
|
|
<div class="defense-section">
|
|
<div class="defense-container">
|
|
<div class="defense-value">{{document.system.evasion.value}}</div>
|
|
<img src="systems/daggerheart/assets/AttributeShield.svg" />
|
|
<div class="defense-banner">{{localize "DAGGERHEART.Sheets.PC.Defense.Evasion"}}</div>
|
|
</div>
|
|
</div>
|
|
<div class="vertical-separator" style="height: 84px; align-self: baseline; margin-right: 8px;"></div>
|
|
<div class="defense-section armor">
|
|
<div class="defense-container">
|
|
<div class="defense-value">{{#if document.system.armor.system.baseScore}}{{document.system.armor.system.baseScore}}{{else}}0{{/if}}</div>
|
|
<img src="systems/daggerheart/assets/AttributeShield.svg" />
|
|
<div class="defense-banner">{{localize "DAGGERHEART.Sheets.PC.Defense.Armor"}}</div>
|
|
</div>
|
|
<div class="armor-marks">
|
|
{{#times (subtract 12 document.system.armorMarks.max)}}
|
|
<input class="mark disabled-mark" type="checkbox" disabled />
|
|
{{/times}}
|
|
{{#times document.system.armorMarks.max}}
|
|
{{#with (add this 1)}}
|
|
<input class="mark" type="checkbox" data-action="toggleMarks" data-value="{{this}}" {{ checked (gte ../../document.system.armor.system.marks.value this) }} />
|
|
{{/with}}
|
|
{{/times}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset> |