mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Changed variable name
This commit is contained in:
parent
49a5f14445
commit
a4a7b8e7ca
3 changed files with 6 additions and 6 deletions
|
|
@ -133,12 +133,12 @@ Hooks.once('init', () => {
|
|||
full: {
|
||||
value: 'icons/magic/fire/barrier-wall-explosion-orange.webp',
|
||||
isPath: true,
|
||||
isNotTransparent: true
|
||||
noColorFilter: true
|
||||
},
|
||||
empty: {
|
||||
value: 'icons/magic/fire/barrier-wall-flame-ring-blue.webp',
|
||||
isPath: true,
|
||||
isNotTransparent: true
|
||||
noColorFilter: true
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ export const abilities = {
|
|||
* reverse
|
||||
* label
|
||||
* images {
|
||||
* full { value, isPath, isNotTransparent }
|
||||
* empty { value, isPath isNotTransparent }
|
||||
* full { value, isPath, noColorFilter }
|
||||
* empty { value, isPath noColorFilter }
|
||||
* }
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@
|
|||
{{#unless resource.fullIcon.isPath}}
|
||||
<i class='{{resource.fullIcon.value}} full {{#unless (gte ../value (add this 1))}}hidden{{/unless}}'></i>
|
||||
{{else}}
|
||||
<img src="{{resource.fullIcon.value}}" class="full {{#unless resource.fullIcon.isNotTransparent}}filter{{else}}non-transparent{{/unless}} {{#unless (gte ../value (add this 1))}}hidden{{/unless}}" />
|
||||
<img src="{{resource.fullIcon.value}}" class="full {{#unless resource.fullIcon.noColorFilter}}filter{{else}}non-transparent{{/unless}} {{#unless (gte ../value (add this 1))}}hidden{{/unless}}" />
|
||||
{{/unless}}
|
||||
{{#unless resource.emptyIcon.isPath}}
|
||||
<i class='{{resource.emptyIcon.value}} empty {{#if (gte ../value (add this 1))}}hidden{{/if}}'></i>
|
||||
{{else}}
|
||||
<img src="{{resource.emptyIcon.value}}" class="empty {{#unless resource.fullIcon.isNotTransparent}}filter{{else}}non-transparent{{/unless}} {{#if (gte ../value (add this 1))}}hidden{{/if}}" />
|
||||
<img src="{{resource.emptyIcon.value}}" class="empty {{#unless resource.fullIcon.noColorFilter}}filter{{else}}non-transparent{{/unless}} {{#if (gte ../value (add this 1))}}hidden{{/if}}" />
|
||||
{{/unless}}
|
||||
</span>
|
||||
{{/times}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue