mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
* Updated the background image for the system * Fixed so Weapon/Armor features are added again * Fixed so fear is available as a resource to be deducted by actions (#757) * Changed to use the config labels and src * Updated Weapons * Fixed so the decrease button of simple fear tracker is not visible when not hovered * Fixed so armor preUpdate doesn't fail if no system changes are made * Updated .gitignore and author details (#777) * Add author details and name mapping for chrisryan10 (#773) Co-authored-by: Chris Ryan <chrisr@blackhole> * Add build to ignore for my linux dev (#775) Co-authored-by: Chris Ryan <chrisr@blackhole> --------- Co-authored-by: Chris Ryan <chrisr@blackhole> * Corrected sneak attack active effect (#780) * Fixed a spelling error (#779) * Fix bardic rally showing in damage dialog when it should not (#783) * update spelling (#786) * Translating inventory descriptions (#782) * updated credits for 1.0.1 release (#797) * updated credits for 1.0.1 release * further updated artwork credits * Chagned handlebarhelper rollparsed to be more defensive (#794) * Added missing scene refreshType (#790) * Remove ability use buttons for not owned abilities (#795) * [Fix] PrayerDice Fixed (#799) * Fixed prayer dice, and wheelchair images * Fixed -settings data sources * Dragging features from one adversary to another (#788) * [Fix] Levelup Fixes (#787) * Fixed crash on experience selection. Fixed subclass error on multiclassing * Fixed so multiclasses do not gain the hope feature for the class * Fixed so Class/Subclass features are properly deleted on delevel * Removed automatic deletion of features on delevel when not using levelup auto * Fixed so custom domains can be selected in levelup when multiclassing * Changed so encounter countdowns is a button (#804) * Fixed so that dropping on class/subclass...creates the item on the character (#803) * [BUG] - Importing All Adversaries/Environments (#814) Fixes #774 Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> * Bug/671 reaction roll chat title (#809) * Update Reaction Roll Chat Message Title * Removed console log --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> * Improve Trait tooltip display (#817) Fixes #806 Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> * [BUG] - Combat Tracker d12 logo not found (#812) Fixes #764 Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> * Compendium Browser (#821) * Corrected timbending description localization (#816) * [Fix] Compendium Item (#810) * Corrected Emberwoven Armor * Fixed subclass regression * Fixed so character's with wildcard images don't break beastform (#815) * Fix roll result based duality damage (#822) --------- Co-authored-by: Chris Ryan <73275196+chrisryan10@users.noreply.github.com> Co-authored-by: Chris Ryan <chrisr@blackhole> Co-authored-by: Dapoulp <74197441+Dapoulp@users.noreply.github.com> Co-authored-by: IrkTheImp <41175833+IrkTheImp@users.noreply.github.com> Co-authored-by: CPTN_Cosmo <cptncosmo@gmail.com> Co-authored-by: Josh Q. <jshqntnr13@gmail.com> Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com> Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
134 lines
No EOL
6.9 KiB
Handlebars
134 lines
No EOL
6.9 KiB
Handlebars
<header class="character-header-sheet">
|
|
<line-div></line-div>
|
|
<div class="name-row">
|
|
<h1 class='actor-name'>
|
|
<input
|
|
type='text'
|
|
name='name'
|
|
value='{{document.name}}'
|
|
placeholder='Actor Name'
|
|
/>
|
|
</h1>
|
|
|
|
<div class='level-div'>
|
|
<h3 class='label'>
|
|
{{#if (or document.system.needsCharacterSetup document.system.levelData.canLevelUp)}}
|
|
<button
|
|
type="button"
|
|
class="level-button glow" data-tooltip="{{#if document.system.needsCharacterSetup}}{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.buttonTitle"}}{{else}}{{localize "DAGGERHEART.ACTORS.Character.levelUp"}}{{/if}}"
|
|
data-action="levelManagement"
|
|
>
|
|
<i class="fa-solid fa-angles-up"></i>
|
|
</button>
|
|
{{/if}}
|
|
{{localize 'DAGGERHEART.GENERAL.level'}}
|
|
<input type="text" data-dtype="Number" class="level-value" value={{#if document.system.needsCharacterSetup}}0{{else}}{{document.system.levelData.level.changed}}{{/if}} {{#if document.system.needsCharacterSetup}}disabled{{/if}} />
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
<div class="character-details">
|
|
<div>
|
|
{{#if document.system.class.value}}
|
|
<span data-action="editDoc" data-item-uuid="{{document.system.class.value.uuid}}">{{document.system.class.value.name}}</span>
|
|
{{else}}
|
|
<span class="missing-header-feature" data-action="openPack" data-key="classes">{{localize 'TYPES.Item.class'}}</span>
|
|
{{/if}}
|
|
<span class="dot">•</span>
|
|
{{#if document.system.class.subclass}}
|
|
<span data-action="editDoc" data-item-uuid="{{document.system.class.subclass.uuid}}">{{document.system.class.subclass.name}}</span>
|
|
{{else}}
|
|
<span class="missing-header-feature" data-action="openPack" data-key="subclasses">{{localize 'TYPES.Item.subclass'}}</span>
|
|
{{/if}}
|
|
<span class="dot">•</span>
|
|
{{#if document.system.community}}
|
|
<span data-action="editDoc" data-item-uuid="{{document.system.community.uuid}}">{{document.system.community.name}}</span>
|
|
{{else}}
|
|
<span class="missing-header-feature" data-action="openPack" data-key="communities">{{localize 'TYPES.Item.community'}}</span>
|
|
{{/if}}
|
|
<span class="dot">•</span>
|
|
{{#if document.system.ancestry}}
|
|
<span data-action="editDoc" data-item-uuid="{{document.system.ancestry.uuid}}">{{document.system.ancestry.name}}</span>
|
|
{{else}}
|
|
<span class="missing-header-feature" data-action="openPack" data-key="ancestries">{{localize 'TYPES.Item.ancestry'}}</span>
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{#if document.system.multiclass.value}}
|
|
<div class="multiclass">
|
|
{{#if document.system.multiclass.value}}
|
|
<span data-action="editDoc"data-item-uuid="{{document.system.multiclass.value.uuid}}">{{document.system.multiclass.value.name}}</span>
|
|
{{else}}
|
|
<span data-action="openPack" data-key="classes">{{localize 'DAGGERHEART.GENERAL.multiclass'}}</span>
|
|
{{/if}}
|
|
<span class="dot">•</span>
|
|
{{#if document.system.multiclass.subclass}}
|
|
<span data-action="editDoc" data-item-uuid="{{document.system.multiclass.subclass.uuid}}">{{document.system.multiclass.subclass.name}}</span>
|
|
{{else}}
|
|
<span class="missing-header-feature" data-action="openPack" data-key="subclasses">{{localize 'TYPES.Item.subclass'}}</span>
|
|
{{/if}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
|
|
</div>
|
|
|
|
<div class="character-row">
|
|
<div class="hope-section">
|
|
<h4>{{localize "DAGGERHEART.GENERAL.hope"}}</h4>
|
|
{{#times document.system.resources.hope.max}}
|
|
<span class='hope-value' data-action='toggleHope' data-value="{{add this 1}}">
|
|
{{#if (gte ../document.system.resources.hope.value (add this 1))}}
|
|
<i class='fa-solid fa-diamond'></i>
|
|
{{else}}
|
|
<i class='fa-regular fa-circle'></i>
|
|
{{/if}}
|
|
</span>
|
|
{{/times}}
|
|
</div>
|
|
{{#if document.system.class.value}}
|
|
<div class="domains-section">
|
|
{{#each document.system.domainData as |data|}}
|
|
<div class="domain">
|
|
<img src="{{data.src}}" alt="" data-tooltip="{{data.label}}" />
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
<div class="downtime-section">
|
|
<button type="button" data-action="useDowntime" data-type="shortRest" data-tooltip="{{localize "DAGGERHEART.APPLICATIONS.Downtime.shortRest.title"}}">
|
|
<i class="fa-solid fa-utensils"></i>
|
|
</button>
|
|
<button type="button" data-action="useDowntime" data-type="longRest" data-tooltip="{{localize "DAGGERHEART.APPLICATIONS.Downtime.longRest.title"}}">
|
|
<i class="fa-solid fa-bed"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="character-traits">
|
|
{{#each this.attributes as |attribute key|}}
|
|
<div class="trait" data-tooltip="<b>{{localize (concat 'DAGGERHEART.CONFIG.Traits.' key '.name') }}:</b><br>{{#each attribute.verbs}}{{this}}<br>{{/each}}" data-action="rollAttribute" data-attribute="{{key}}" data-value="{{attribute.value}}">
|
|
<div class="trait-name">
|
|
<span>{{localize (concat 'DAGGERHEART.CONFIG.Traits.' key '.short')}}</span>
|
|
{{#if attribute.tierMarked}}
|
|
<i class='fa-solid fa-circle'></i>
|
|
{{else}}
|
|
<i class='fa-regular fa-circle'></i>
|
|
{{/if}}
|
|
</div>
|
|
<div class="trait-value">
|
|
{{#if (gt attribute.value 0)}}
|
|
<span>+{{attribute.value}}</span>
|
|
{{else}}
|
|
<span>{{attribute.value}}</span>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
|
|
{{#> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs' showSettings=showSettings }}
|
|
{{#if ../showSettings}}
|
|
<button type="button" data-action="openSettings" data-tooltip-text="{{localize "DAGGERHEART.UI.Tooltip.openSheetSettings"}}"><i class="fa-solid fa-wrench"></i></button>
|
|
{{/if}}
|
|
{{/'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
|
|
</header> |