mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
[Feature] Beastform Types (#372)
* Temp * Finished Evolved * Fixed hybrid * Changed generalConfig.tiers to be number based * Weaponhandling while in beastform * Added unarmed strike in sidebar * Added DamageEnricher * Added effect enricher * Corrected downtime buttons and actions * Added BeastformTooltip * Split the BeastformDialog into parts with tabs * Added temp beastform features * rollData change * Improvement * character.getRollData cleanup
This commit is contained in:
parent
867947c2c5
commit
42a705a870
93 changed files with 2795 additions and 538 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
{{#if item.uses.max}}
|
||||
<h4 class="tooltip-sub-title">{{localize "DAGGERHEART.GENERAL.uses"}}</h4>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.system.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="tooltip-information-section triple spaced">
|
||||
<div class="tooltip-information">
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
<div class="tooltip-information-section spaced">
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "DAGGERHEART.GENERAL.hitPoints.plural"}}</label>
|
||||
<label>{{localize "DAGGERHEART.GENERAL.HitPoints.plural"}}</label>
|
||||
<div>{{item.system.resources.hitPoints.max}}</div>
|
||||
</div>
|
||||
<div class="tooltip-information">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.system.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="tooltip-information-section">
|
||||
<div class="tooltip-information full-width">
|
||||
|
|
|
|||
29
templates/ui/tooltip/attack.hbs
Normal file
29
templates/ui/tooltip/attack.hbs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{attack.name}}</h2>
|
||||
<img class="tooltip-image" src="{{attack.img}}" />
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="tooltip-information-section spaced">
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "DAGGERHEART.GENERAL.Trait.single"}}</label>
|
||||
{{#with (lookup config.ACTOR.abilities attack.roll.trait) as | trait |}}
|
||||
<div>{{localize trait.label}}</div>
|
||||
{{/with}}
|
||||
</div>
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "DAGGERHEART.GENERAL.range"}}</label>
|
||||
{{#with (lookup config.GENERAL.range attack.range) as | range |}}
|
||||
<div>{{localize range.label}}</div>
|
||||
{{/with}}
|
||||
</div>
|
||||
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "DAGGERHEART.GENERAL.damage"}}</label>
|
||||
<div>{{{damageFormula attack parent}}}</div>
|
||||
</div>
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "DAGGERHEART.GENERAL.damageType"}}</label>
|
||||
<div>{{{damageSymbols attack.damage.parts}}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
8
templates/ui/tooltip/beastform.hbs
Normal file
8
templates/ui/tooltip/beastform.hbs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipChips.hbs" chips=item.system.advantageOn label=(localize "DAGGERHEART.ITEMS.Beastform.FIELDS.advantageOn.label")}}
|
||||
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.features label=(localize "DAGGERHEART.GENERAL.features")}}
|
||||
</div>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.system.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="tooltip-information-section">
|
||||
<div class="tooltip-information full-width">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.system.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="tooltip-information-section">
|
||||
<div class="tooltip-information">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.system.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.actions label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
|
||||
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.effects label=(localize "DAGGERHEART.GENERAL.Effect.plural") }}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.system.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.actions label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
|
||||
</div>
|
||||
6
templates/ui/tooltip/parts/tooltipChips.hbs
Normal file
6
templates/ui/tooltip/parts/tooltipChips.hbs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<h4 class="tooltip-sub-title">{{localize label}}</h4>
|
||||
<div class="tooltip-chips">
|
||||
{{#each chips as | chip |}}
|
||||
<div class="tooltip-chip">{{ifThen chip.value chip.value chip}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="tooltip-tag-label">{{localize feature.name}}</div>
|
||||
{{#if feature.img}}<img class="tooltip-tag-image" src="{{feature.img}}" />{{/if}}
|
||||
</div>
|
||||
<div class="tooltip-tag-description">{{{localize (ifThen feature.description feature.description feature.system.description)}}}</div>
|
||||
<div class="tooltip-tag-description">{{{localize (ifThen feature.description feature.description (ifThen feature.system.enrichedDescription feature.system.enrichedDescription feature.system.description))}}}</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{item.system.description}}}</div>
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="tooltip-information-section">
|
||||
<div class="tooltip-information">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue