Manye enhancements for combat
This commit is contained in:
@@ -5,27 +5,89 @@
|
||||
<h4 class="chat-actor-name">{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if img}}
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
<hr>
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
{{#if img}}
|
||||
<div>
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
{{#if blessure}}
|
||||
<li>{{defenderName}} a subi une blessure!</li>
|
||||
<li>Gravité : {{blessure.name}}</li>
|
||||
<li>Localisation : {{loc.label}}</li>
|
||||
{{else}}
|
||||
<li>Aucune blessure subie par {{defenderName}}</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<ul>
|
||||
{{#if arme}}
|
||||
<label class="chat-weapon-name">Dégats {{arme.name}} : {{degats}} ({{degatsFormula}})</label>
|
||||
{{/if}}
|
||||
{{#if loc}}
|
||||
<li>Localisation : {{loc.label}}</li>
|
||||
<li>Touché : {{touche}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if gantelet}}
|
||||
<li>Poing avec gantelet: +1 dégat</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if isChargeAPied}}
|
||||
<li>Charge à pied (+Course)</li>
|
||||
{{/if}}
|
||||
{{#if isChargeACheval}}
|
||||
<li>Charge à cheval (+Equitation)</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if isReussiteCritique}}
|
||||
<li><strong class="chat-result-success">Réussite critique : La blessure a été augmentée d'un niveau</strong></li>
|
||||
{{/if}}
|
||||
{{#if blessure}}
|
||||
<li>{{defenderName}} a subi une blessure!</li>
|
||||
<li>Gravité : {{blessure.name}}</li>
|
||||
|
||||
|
||||
{{#if (eq loc.categorie "tete")}}
|
||||
{{#if (gt blessure.system.value 0)}}
|
||||
<li><strong class="chat-result-warning">{{alias}} doit réussir un test d'Endurance de difficulté 7 ou être
|
||||
assomé</strong></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq loc.categorie "bras")}}
|
||||
{{#if (gt blessure.system.value 2)}}
|
||||
<li><strong class="chat-result-warning">{{alias}} lache l'objet tenu par son bras. Il doit faire un test d'endurance
|
||||
pour l'utiliser désormais.</strong></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq loc.categorie "jambe")}}
|
||||
{{#if (gt blessure.system.value 2)}}
|
||||
<li><strong class="chat-result-warning">{{alias}} tombe au sol. Pour se relever et marcher, il doit réussir un test
|
||||
d'Endurance à chaque tour.
|
||||
</strong></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq loc.categorie "main")}}
|
||||
{{#if (gt blessure.system.value 1)}}
|
||||
<li><strong class="chat-result-warning">{{alias}} lache l'objet tenu par sa main. Il doit faire un test d'endurance
|
||||
pour l'utiliser désormais.</strong></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq loc.categorie "pied")}}
|
||||
{{#if (gt blessure.system.value 1)}}
|
||||
<li><strong class="chat-result-warning">{{alias}} tombe au sol. Pour se relever et marcher, il doit réussir un test
|
||||
d'Endurance à chaque tour.
|
||||
</strong></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{else}}
|
||||
<li>Aucune blessure subie par {{defenderName}}</li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user