Manage wounds

This commit is contained in:
2021-02-16 22:04:59 +01:00
parent cfcc3b3201
commit fb0eb9dcc8
9 changed files with 137 additions and 27 deletions

View File

@@ -73,12 +73,13 @@
<div class="flexrow">
<span class="flexcol">
<h3 class="edge-name">Edge cards : </h3>
<h3 class="edge-name">Current deck size : {{data.deckSize}} cards</h3>
<span class="edge-name"><a class="reset-deck-full">Reset full deck and edges</a></span>
<span class="edge-name"><a class="draw-new-edge">Draw a new Edge card</a></span>
<span class="edge-name"><a class="reset-deck">Reset deck only (ie after a Joker)</a></span>
</span>
<span class="edge-name">
<h3 class="edge-name">Edge cards : </h3>
{{#each data.edgecard as |card key|}}
<img class="card-img" src="{{card.path}}" data-edit="img" title="{{card.cardName}}" />
{{/each}}

View File

@@ -1,10 +1,13 @@
<h4>{{target.actor.name}} has {{remainingAP}} AP and can react to the attack from {{actor.name}} !</h4>
<h4>{{target.actor.name}} has {{APavailable}} AP and can react to the attack from {{actor.name}} !</h4>
<div class="flexcol">
{{#if coverSeverityFlag}}
<label>Add cover consequence bonus * 2 to your defense : {{coverSeverityLevel}}</label>
<a class='chat-card-button' id='button-reaction-cover' data-uniq-id='{{uniqId}}' data-actor-id='{{target.actor._id}}'>
Add cover consequence bonus x 2 to your defense : {{coverSeverityLevel}}</a>`
{{/if}}
{{#if isMelee}}
<label>Add Melee level to your defense : {{defenderMelee}}</label>
<a class='chat-card-button' id='button-reaction-melee' data-uniq-id='{{uniqId}}' data-actor-id='{{target.actor._id}}'>
Add Melee level to your defense : {{defenderMelee}}</a>`
{{/if}}
<label>Do not dodge and get the hit ! </label>
<a class='chat-card-button' id='button-reaction-hit' data-uniq-id='{{uniqId}}' data-actor-id='{{target.actor._id}}'>
Do not dodge and get the hit !</a>`
</div>

View File

@@ -0,0 +1,4 @@
<h4>{{target.actor.name}} reacted and has avoided damages !</h4>
<div class="flexcol">
<label>Score : {{finalScore}} - Target defense : {{tn}} / {{targetCritical}}</label>
</div>