mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 15:39:02 +01:00
Merge branch 'hotfix' into fix/717-compendium-browser-improvements
This commit is contained in:
commit
4aef8e5ab9
7 changed files with 25 additions and 28 deletions
|
|
@ -19,7 +19,7 @@ export default class DualityRoll extends D20Roll {
|
|||
|
||||
get title() {
|
||||
return game.i18n.localize(
|
||||
"DAGGERHEART.GENERAL.dualityRoll"
|
||||
`DAGGERHEART.GENERAL.${this.options?.roll?.type === CONFIG.DH.ITEM.actionTypes.reaction.id ? 'reactionRoll' : 'dualityRoll'}`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -125,10 +125,7 @@ export default class DualityRoll extends D20Roll {
|
|||
}
|
||||
|
||||
createBaseDice() {
|
||||
if (
|
||||
this.dice[0] instanceof foundry.dice.terms.Die &&
|
||||
this.dice[1] instanceof foundry.dice.terms.Die
|
||||
) {
|
||||
if (this.dice[0] instanceof foundry.dice.terms.Die && this.dice[1] instanceof foundry.dice.terms.Die) {
|
||||
this.terms = [this.terms[0], this.terms[1], this.terms[2]];
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"type": "Item",
|
||||
"type": "Actor",
|
||||
"folder": null,
|
||||
"name": "Tier 1",
|
||||
"color": null,
|
||||
|
|
@ -14,10 +14,7 @@
|
|||
"exportSource": null,
|
||||
"coreVersion": "13.346",
|
||||
"systemId": "daggerheart",
|
||||
"systemVersion": "0.0.1",
|
||||
"createdTime": 1752684226915,
|
||||
"modifiedTime": 1752684226915,
|
||||
"lastModifiedBy": "k0gmQFlvrPvlTtbh"
|
||||
"systemVersion": "0.0.1"
|
||||
},
|
||||
"_key": "!folders!sxvlEwi25uAoB2C5"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"type": "Item",
|
||||
"type": "Actor",
|
||||
"folder": null,
|
||||
"name": "Tier 2",
|
||||
"color": null,
|
||||
|
|
@ -14,10 +14,7 @@
|
|||
"exportSource": null,
|
||||
"coreVersion": "13.346",
|
||||
"systemId": "daggerheart",
|
||||
"systemVersion": "0.0.1",
|
||||
"createdTime": 1752684230275,
|
||||
"modifiedTime": 1752684230275,
|
||||
"lastModifiedBy": "k0gmQFlvrPvlTtbh"
|
||||
"systemVersion": "0.0.1"
|
||||
},
|
||||
"_key": "!folders!OgzrmfH1ZbpljX7k"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"type": "Item",
|
||||
"type": "Actor",
|
||||
"folder": null,
|
||||
"name": "Tier 3",
|
||||
"color": null,
|
||||
|
|
@ -14,10 +14,7 @@
|
|||
"exportSource": null,
|
||||
"coreVersion": "13.346",
|
||||
"systemId": "daggerheart",
|
||||
"systemVersion": "0.0.1",
|
||||
"createdTime": 1752684233122,
|
||||
"modifiedTime": 1752684233122,
|
||||
"lastModifiedBy": "k0gmQFlvrPvlTtbh"
|
||||
"systemVersion": "0.0.1"
|
||||
},
|
||||
"_key": "!folders!wTI7nZkPhKxl7Wwq"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"type": "Item",
|
||||
"type": "Actor",
|
||||
"folder": null,
|
||||
"name": "Tier 4",
|
||||
"color": null,
|
||||
|
|
@ -14,10 +14,7 @@
|
|||
"exportSource": null,
|
||||
"coreVersion": "13.346",
|
||||
"systemId": "daggerheart",
|
||||
"systemVersion": "0.0.1",
|
||||
"createdTime": 1752684235596,
|
||||
"modifiedTime": 1752684235596,
|
||||
"lastModifiedBy": "k0gmQFlvrPvlTtbh"
|
||||
"systemVersion": "0.0.1"
|
||||
},
|
||||
"_key": "!folders!7XHlANCPz18yvl5L"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,9 +105,9 @@
|
|||
</div>
|
||||
|
||||
<div class="character-traits">
|
||||
{{#each this.attributes as |attribute key|}}
|
||||
<div class="trait" data-tooltip="{{#each attribute.verbs}}{{this}}<br>{{/each}}" data-action="rollAttribute" data-attribute="{{key}}" data-value="{{attribute.value}}">
|
||||
<div class="trait-name">
|
||||
{{#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>
|
||||
|
|
|
|||
|
|
@ -51,6 +51,18 @@
|
|||
{{/if}}
|
||||
|
||||
<div class="encounter-controls {{#if hasCombat}}combat{{/if}}">
|
||||
{{#if hasCombat}}
|
||||
<div class="encounter-fear-controls">
|
||||
<div class="encounter-fear-dice-container">
|
||||
<div class="encounter-control-fear-container">
|
||||
<div class="dice d12"></div>
|
||||
<i class="fas fa-skull encounter-control-fear"></i>
|
||||
</div>
|
||||
<div>{{fear}}</div>
|
||||
</div>
|
||||
<a class="encounter-countdowns" data-tooltip="{{localize "DAGGERHEART.APPLICATIONS.Countdown.title" type=(localize "DAGGERHEART.APPLICATIONS.Countdown.types.encounter")}}" data-action="openCountdowns"><i class="fa-solid fa-stopwatch"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{!-- Combat Status --}}
|
||||
<strong class="encounter-title">
|
||||
{{#if combats.length}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue