mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Improved tooltips wiht more data (#701)
This commit is contained in:
parent
df99d0e4c6
commit
5045801475
7 changed files with 73 additions and 12 deletions
|
|
@ -3,6 +3,29 @@
|
|||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="simple-info">{{item.system.examples}}</div>
|
||||
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipChips.hbs" chips=item.system.advantageOn label=(localize "DAGGERHEART.ITEMS.Beastform.FIELDS.advantageOn.label")}}
|
||||
|
||||
<div class="tooltip-information-section spaced">
|
||||
{{#with item.system.beastformAttackData}}
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "Main Trait"}}</label>
|
||||
<div>{{this.trait}}</div>
|
||||
</div>
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "Trait Bonus"}}</label>
|
||||
<div>{{this.traitBonus}}</div>
|
||||
</div>
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "Evasion"}}</label>
|
||||
<div>{{this.evasionBonus}}</div>
|
||||
</div>
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "Damage"}}</label>
|
||||
<div>{{concat this.damageDice ' ' this.damageBonus}} <i class="fa-solid fa-hand-fist"></i></div>
|
||||
</div>
|
||||
{{/with}}
|
||||
</div>
|
||||
|
||||
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.features label=(localize "DAGGERHEART.GENERAL.features")}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue