Add spells and alchemy
This commit is contained in:
11
templates/chat/rolls/alchemy-roll-card.hbs
Normal file
11
templates/chat/rolls/alchemy-roll-card.hbs
Normal file
@ -0,0 +1,11 @@
|
||||
<h4><strong>Préparation Alchimique : {{alchemy.name}}</strong></h4>
|
||||
<h4><strong>Points de Création Investis : {{pcCostCurrent}}</strong></h4>
|
||||
|
||||
{{#if isSuccess}}
|
||||
La préparation alchimique a été réalisée avec succès !
|
||||
<br>Créez l'item ou l'effet correspondant dans votre Inventaire.
|
||||
<br>L'avancement dans la préparation a été remis à 0.
|
||||
{{else}}
|
||||
La préparation alchimique a échouée !
|
||||
<br>L'avancement dans la préparation a été remis à 0.
|
||||
{{/if}}
|
@ -1,5 +1,5 @@
|
||||
<img class="chat-icon" src="{{weapon.img}}" alt="{{weapon.name}}"/>
|
||||
<h3><strong>Dommages de {{weapon.name}} : {{damageRoll.total}}</strong>
|
||||
<h3><strong>Dommages de {{weapon.name}} : {{damageRoll.total}}</strong></h3>
|
||||
|
||||
{{#if target}}
|
||||
<div id="{{applyId}}">
|
||||
|
@ -20,6 +20,12 @@
|
||||
{{#if (and isSuccess weapon)}}
|
||||
{{> "systems/bol/templates/chat/rolls/attack-damage-card.hbs"}}
|
||||
{{/if}}
|
||||
{{#if (and isSuccess spell)}}
|
||||
{{> "systems/bol/templates/chat/rolls/spell-roll-card.hbs"}}
|
||||
{{/if}}
|
||||
{{#if alchemy}}
|
||||
{{> "systems/bol/templates/chat/rolls/alchemy-roll-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>
|
||||
|
@ -0,0 +1,4 @@
|
||||
<h4><strong>Sort : {{spell.name}}</strong></h4>
|
||||
<h4><strong>Cout en Points de Pouvoir : {{ppCost}}</strong></h4>
|
||||
<h4><strong>Points de Pouvoir restants : {{sub ppCurrent ppCost}}</strong></h4>
|
||||
|
||||
|
Reference in New Issue
Block a user