#181 Gestion potions (fabrication)

This commit is contained in:
2021-04-10 21:07:53 +02:00
parent 1cea9753a9
commit 1b3c5f524d
9 changed files with 82 additions and 23 deletions

View File

@ -5,7 +5,7 @@
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
{{#if isOwned}}
<div class="form-group">
<span for="xp"><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
<span for="xp"><a class="fabriquer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
</div>
{{/if}}
</div>
@ -37,7 +37,7 @@
<label>Catégorie</label>
<select name="data.categorie" class="categoriepotion" data-dtype="String">
{{#select data.categorie}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-ingredient.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-potion.html"}}
{{/select}}
</select>
</div>