Step 4 - Manage perks

This commit is contained in:
2022-02-10 19:03:09 +01:00
parent 0a5e52ec4e
commit d17afaf142
12 changed files with 184 additions and 145 deletions

View File

@@ -3,26 +3,6 @@
{{#if img}}
<img class="chat-img" src="{{img}}" title="{{name}}" />
{{/if}}
{{#if (eq type "weapon")}}
{{#each data.weaponstats as |weaponstat rootkey|}}
{{#if weaponstat.deleted}}
{{else}}
<h4>Stats for {{weaponstat.name}}</h4>
{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section-tchat.html" stats=weaponstat.data.statstotal isfinal=false header=false}}
{{/if}}
{{/each}}
{{else}}
{{#if data.statstotal}}
{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section-tchat.html" stats=data.statstotal isfinal=false title="" header=true}}
{{else}}
{{#if data.stats}}
{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section-tchat.html" stats=data.stats isfinal=false title="" header=true}}
{{/if}}
{{/if}}
{{/if}}
<h4><b>Description : </b></h4>
<h4><b>Description : </b></h4>
<p class="card-content">{{{data.description}}}</p>
</div>