Review combat mode
This commit is contained in:
7
templates/chat/rolls/attack-damage-card.hbs
Normal file
7
templates/chat/rolls/attack-damage-card.hbs
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
<button class="chat-damage-roll" data-damage-mode="normal-damage" data-attack-id="{{id}}">Lancer les dommages</button>
|
||||
|
||||
{{#if isCritical}}
|
||||
<button class="chat-damage-roll" data-damage-mode="damage-plus-6" data-attack-id="{{id}}">Lancer les dommages +6</button>
|
||||
<button class="chat-damage-roll" data-damage-mode="damage-plus-12" data-attack-id="{{id}}">Dommages +12 (1 Pt. d'Heroisme)</button>
|
||||
{{/if}}
|
@ -1,6 +0,0 @@
|
||||
<img class="chat-icon" src="{{actor.img}}" alt="{{actor.name}}"/>
|
||||
Jet Héroïque !
|
||||
<button class="damage-increase" data-damage-mode="damage-plus-6" data-attack-id="{{id}}">Augmenter les dommages de 6</button>
|
||||
<button class="damage-increase" data-damage-mode="damage-plus-12" data-attack-id="{{id}}">Augmenter les dommages de 12 (1 point d'Heroisme)</button>
|
||||
<button class="damage-increase" data-damage-mode="damage-normal" data-attack-id="{{id}}">Laisser les dommages inchangés</button>
|
||||
|
@ -1,7 +1,8 @@
|
||||
<img class="chat-icon" src="{{weapon.img}}" alt="{{weapon.name}}"/>
|
||||
<h3><strong>Dommages de l'arme : {{damage}}</strong>
|
||||
{{!#if hasDescription}}
|
||||
<!--<h4>-->
|
||||
<!-- <pre class="rollDescr-line">{{!description}}</pre>-->
|
||||
<!--</h4>-->
|
||||
{{!/if}}
|
||||
<h3><strong>Dommages de {{weapon.name}} : {{damageRoll.total}}</strong>
|
||||
|
||||
{{#if target}}
|
||||
<div id="{{applyId}}">
|
||||
<button class="chat-damage-apply" data-attack-id="{{id}}">Appliquer les dommages à la cible</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -16,11 +16,15 @@
|
||||
|
||||
<h3><strong>{{description}}</strong></h3>
|
||||
|
||||
{{#if reroll}}
|
||||
<a class="button hero-reroll" data-roll-id=="{{rollId}}"" data-actor-id="{{actor.id}}">Relancer!</a>
|
||||
{{/if}}
|
||||
{{!#if hasDescription}}
|
||||
<!--<h4>-->
|
||||
<!-- <pre class="rollDescr-line">{{!description}}</pre>-->
|
||||
<!--</h4>-->
|
||||
{{!/if}}
|
||||
<div id="{{optionsId}}">
|
||||
{{#if (and isSuccess weapon)}}
|
||||
{{> "systems/bol/templates/chat/rolls/attack-damage-card.hbs"}}
|
||||
{{/if}}
|
||||
|
||||
{{#if reroll}}
|
||||
<button class="chat-button button hero-reroll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">Relancer (1 P. Heroisme)</button>
|
||||
{{/if}}
|
||||
{{#if isRealCritical}}
|
||||
<button class="chat-button button transform-heroic-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">Transformer en succes héroique (1 P. Heroisme)</button>
|
||||
{{/if}}
|
||||
</div>
|
Reference in New Issue
Block a user