Data model change
This commit is contained in:
@ -18,37 +18,15 @@
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
{{#if power}}
|
||||
<li>Power : {{power.name}}</li>
|
||||
{{#if ability}}
|
||||
<li>Ability : {{ability.label}} - {{ability.value}}d6</li>
|
||||
{{/if}}
|
||||
{{#if isDamage}}
|
||||
<li>Weapon Damage Dice : {{weaponDamageDice}}</li>
|
||||
{{/if}}
|
||||
{{#if isResistance}}
|
||||
<li>Armor Resistance Dice : {{armor.data.resistanceDice}}</li>
|
||||
{{/if}}
|
||||
{{#if stat}}
|
||||
<li>Statistic : {{stat.label}}</li>
|
||||
{{/if}}
|
||||
{{#if spec}}
|
||||
<li>Specialisation : {{spec.name}}</li>
|
||||
{{#if skill}}
|
||||
<li>Skill : {{skill.name}} - {{skill.data.level}}d8</li>
|
||||
{{/if}}
|
||||
<li><strong>Number of successes</strong> {{nbSuccess}} </li>
|
||||
|
||||
{{#if weaponName}}
|
||||
<li>Weapon : {{weaponName}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if isResistance}}
|
||||
<li><strong>Defense Result : {{finalScore}}</strong>
|
||||
{{else}}
|
||||
{{#if isDamage}}
|
||||
<li><strong>Damages : {{finalScore}}</strong>
|
||||
{{else}}
|
||||
<li><strong>Final Result : {{finalScore}}</strong>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button>
|
||||
<!-- <button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button> -->
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user