mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
* Added daggerheart durations and auto expiration of them * Added duration to all tier1 adversaries * Finished all adversaries and environments * Remaining compendiums updated * Improved styling of duration in tooltips * .
34 lines
No EOL
1.2 KiB
Handlebars
34 lines
No EOL
1.2 KiB
Handlebars
<div class="daggerheart dh-style tooltip">
|
|
<div class="tooltip-header">
|
|
<h2>{{effect.name}}</h2>
|
|
{{#if effect.appliedBy}}
|
|
<p class="subtitle">{{localize "DAGGERHEART.UI.EffectsDisplay.appliedBy" by=effect.appliedBy}}</p>
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{#if effect.description}}
|
|
<div class="description">
|
|
{{{effect.description}}}
|
|
</div>
|
|
{{else if effect.parent.system.description}}
|
|
<div class="description">
|
|
{{{effect.parent.system.description}}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if effect.system.duration.type}}
|
|
|
|
<div class="duration-container">
|
|
<div class="duration-inner-container">
|
|
<span>{{localize "EFFECT.DURATION.Label"}}:</span>
|
|
<span>{{localize (concat "DAGGERHEART.CONFIG.ActiveEffectDuration." effect.system.duration.type )}}</span>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#unless effect.isLockedCondition}}
|
|
<p class="close-hint">
|
|
<i class="fa-solid fa-computer-mouse"></i> {{localize "DAGGERHEART.UI.EffectsDisplay.removeThing" thing=(localize "DAGGERHEART.GENERAL.Effect.single")}}
|
|
</p>
|
|
{{/unless}}
|
|
</div> |