Fix options de combat
This commit is contained in:
		@@ -8,13 +8,15 @@
 | 
			
		||||
<button class="damage-handling" data-defense-mode="damage-with-armor" data-attack-id="{{attackId}}">{{localize "BOL.chat.witharmor"}}</button>
 | 
			
		||||
<button class="damage-handling" data-defense-mode="damage-without-armor" data-attack--id="{{attackId}}">{{localize "BOL.chat.withoutarmor"}}</button>
 | 
			
		||||
 | 
			
		||||
{{#if defender.system.resources.hero.value}}
 | 
			
		||||
<button class="damage-handling" data-defense-mode="hero-reduce-damage" data-attack-id="{{attackId}}">{{localize "BOL.chat.shakeoff"}}</button>
 | 
			
		||||
{{#if isHeroAdversary}}
 | 
			
		||||
  {{#if (gt defender.system.resources.hero.value 0)}}
 | 
			
		||||
    <button class="damage-handling" data-defense-mode="hero-reduce-damage" data-attack-id="{{attackId}}">{{localize "BOL.chat.shakeoff"}}</button>
 | 
			
		||||
 | 
			
		||||
{{#each defenderWeapons as |weapon idx|}}
 | 
			
		||||
<button class="damage-handling" data-defense-mode="hero-in-extremis" data-attack-id="{{@root.attackId}}" data-weapon-id="{{weapon._id}}">{{localize "BOL.chat.splinteredshield" name=weapon.name}}</button>
 | 
			
		||||
{{/each}}
 | 
			
		||||
    {{#each defenderWeapons as |weapon idx|}}
 | 
			
		||||
    <button class="damage-handling" data-defense-mode="hero-in-extremis" data-attack-id="{{@root.attackId}}" data-weapon-id="{{weapon._id}}">{{localize "BOL.chat.splinteredshield" name=weapon.name}}</button>
 | 
			
		||||
    {{/each}}
 | 
			
		||||
  {{/if}}
 | 
			
		||||
{{/if}}
 | 
			
		||||
 | 
			
		||||
<button class="damage-handling" data-defense-mode="damage-not-applied" data-attack-id="{{attackId}}">{{localize "BOL.chat.nodamage"}}</button>
 | 
			
		||||
 | 
			
		||||
{{/if}}
 | 
			
		||||
		Reference in New Issue
	
	Block a user