Initial import
This commit is contained in:
@ -8,11 +8,11 @@
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
<h4>
|
||||
{{#if (eq mode "skill")}}
|
||||
Skill : {{skill.name}}
|
||||
{{#if (eq mode "stat")}}
|
||||
Statistic : {{stat.label}}
|
||||
{{else}}
|
||||
{{#if (eq mode "technique")}}
|
||||
Technique : {{technique.name}}
|
||||
{{#if (eq mode "spec")}}
|
||||
Technique : {{spec.name}}
|
||||
{{else}}
|
||||
{{#if (eq mode "weapon")}}
|
||||
Weapon attack : {{weapon.name}}
|
||||
@ -23,33 +23,14 @@
|
||||
</div>
|
||||
|
||||
<div class="flexcol">
|
||||
<div class="dice-total">
|
||||
{{#each diceResults as |diceResult key|}}
|
||||
<div class="dice">
|
||||
{{#if (gt @root.nbDice 2)}}
|
||||
<a class="dice-to-river" data-actor-id="{{@root.actorId}}" data-roll-id="{{@root.rollId}}" data-dice-index="{{key}}" data-dice-value="{{diceResult.result}}">
|
||||
{{/if}}
|
||||
<label>{{diceResult.result}}</label>
|
||||
<img src="systems/fvtt-weapons-of-the-gods/images/dice/d10black.svg" />
|
||||
{{#if (gt @root.nbDice 2)}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
{{#if (eq mode "technique")}}
|
||||
<li>{{technique.data.chicolor}} Chi cost : {{technique.data.chicost}} </li>
|
||||
<li><button class="chat-card-button apply-technique-cost" data-actor-id="{{actorId}}" data-roll-id="{{@root.rollId}}" data-technique-id="{{technique._id}}">Apply Chi cost</button></li>
|
||||
<li>Effect description : {{technique.data.effectdescription}}</li>
|
||||
{{/if}}
|
||||
{{#if (eq mode "weapon")}}
|
||||
<li>Effect description : {{weapon.data.effectdescription}}</li>
|
||||
{{/if}}
|
||||
<li>Modifiers : {{negativeModifier}} / {{positiveModifier}} </li>
|
||||
<li><strong>Total Roll : {{finalScore}}</strong>
|
||||
<li><strong>Final Result : {{finalScore}}</strong>
|
||||
|
||||
{{#if linkedRollId}}
|
||||
<li><button class="chat-card-button apply-defense-roll" data-roll-score="{{finalScore}}" data-roll-id="{{@root.rollId}}" data-actor-id="{{actorId}}" data-defender-id="{{defenseAttackerId}}">Use this Roll as defense</button></li>
|
||||
|
Reference in New Issue
Block a user