diff --git a/src/lang/de.json b/src/lang/de.json index e1dde04a..374e5587 100644 --- a/src/lang/de.json +++ b/src/lang/de.json @@ -123,8 +123,12 @@ "DS4.SpellPrice": "Preis (Gold)", "DS4.EffectEnabled": "Aktiv", "DS4.EffectEnabledAbbr": "A", + "DS4.EffectEffectivelyEnabled": "Effektiv Aktiv (unter Betrachtung, ob ein eventuelles Quellen-Item ausgerüstet ist usw.)", + "DS4.EffectEffectivelyEnabledAbbr": "E", "DS4.EffectLabel": "Bezeichnung", "DS4.EffectSourceName": "Quelle", + "DS4.EffectFactor": "Faktor (wie oft der Effekt angewendet wird)", + "DS4.EffectFactorAbbr": "F", "DS4.ActorName": "Name", "DS4.ActorImageAltText": "Bild des Aktors", "DS4.ActorTypeCharacter": "Charakter", diff --git a/src/lang/en.json b/src/lang/en.json index d1042021..cc0364d2 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -123,8 +123,12 @@ "DS4.SpellPrice": "Price (Gold)", "DS4.EffectEnabled": "Enabled", "DS4.EffectEnabledAbbr": "E", + "DS4.EffectEffectivelyEnabled": "Effectively Enabled (taking into account whether a potential source item is equipped etc.)", + "DS4.EffectEffectivelyEnabledAbbr": "EE", "DS4.EffectLabel": "Label", "DS4.EffectSourceName": "Source", + "DS4.EffectFactor": "Factor (the number of times the effect is being applied)", + "DS4.EffectFactorAbbr": "F", "DS4.ActorName": "Name", "DS4.ActorImageAltText": "Image of the Actor", "DS4.ActorTypeCharacter": "Character", diff --git a/src/module/actor/sheets/actor-sheet.ts b/src/module/actor/sheets/actor-sheet.ts index 49fa1782..e192e49b 100644 --- a/src/module/actor/sheets/actor-sheet.ts +++ b/src/module/actor/sheets/actor-sheet.ts @@ -53,6 +53,8 @@ export class DS4ActorSheet extends ActorSheet {{!-- enabled --}} - + + + {{!-- effectively enabled --}} + {{#if effectData.isEffectivelyEnabled}}{{else}}{{/if}} {{!-- icon --}} {{> systems/ds4/templates/sheets/actor/components/rollable-image.hbs rollable=false src=effectData.icon @@ -25,6 +28,9 @@ SPDX-License-Identifier: MIT {{!-- source name --}}
{{effectData.sourceName}}
+ {{!-- factor --}} +
{{effectData.factor}}
+ {{!-- control button group --}} {{> systems/ds4/templates/sheets/actor/components/control-button-group.hbs documentType="effect" editTitle="DS4.UserInteractionEditEffectTitle" deleteTitle="DS4.UserInteractionDeleteEffectTitle"}} diff --git a/src/templates/sheets/actor/components/effect-list-header.hbs b/src/templates/sheets/actor/components/effect-list-header.hbs index 91311fe5..fa433700 100644 --- a/src/templates/sheets/actor/components/effect-list-header.hbs +++ b/src/templates/sheets/actor/components/effect-list-header.hbs @@ -12,6 +12,9 @@ SPDX-License-Identifier: MIT {{!-- enabled --}}
{{localize 'DS4.EffectEnabledAbbr'}}
+ {{!-- effectively enabled --}} +
{{localize 'DS4.EffectEffectivelyEnabledAbbr'}}
+ {{!-- icon --}}
@@ -21,6 +24,9 @@ SPDX-License-Identifier: MIT {{!-- source name --}}
{{localize 'DS4.EffectSourceName'}}
+ {{!-- factor --}} +
{{localize 'DS4.EffectFactorAbbr'}}
+ {{!-- control buttons placeholder --}}