2020-06-29 23:29:10 +02:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
2020-11-09 22:35:26 +01:00
|
|
|
<header class="sheet-header">
|
2021-03-25 09:28:36 +01:00
|
|
|
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
2020-11-09 22:35:26 +01:00
|
|
|
<div class="header-fields">
|
2021-03-25 09:28:36 +01:00
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
2021-04-04 18:42:09 +02:00
|
|
|
{{#if isOwned}}
|
|
|
|
<div class="form-group">
|
2021-04-12 00:16:23 +02:00
|
|
|
<span for="xp"><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
|
2021-04-04 18:42:09 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-11-09 22:35:26 +01:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Fréquence</label>
|
2022-06-12 09:46:58 +02:00
|
|
|
<select name="system.rarete" class="rarete" data-dtype="String">
|
2022-09-07 18:47:56 +02:00
|
|
|
{{#select system.rarete}}
|
2020-11-09 22:35:26 +01:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Catégorie</label>
|
2022-06-12 09:46:58 +02:00
|
|
|
<select name="system.categorie" class="categoriepotion" data-dtype="String">
|
2022-09-07 18:47:56 +02:00
|
|
|
{{#select system.categorie}}
|
2021-04-10 21:07:53 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-potion.html"}}
|
2020-11-09 22:35:26 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2022-10-08 14:25:31 +02:00
|
|
|
{{#if isSoins}}
|
2021-04-04 09:37:35 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label>Herbe</label>
|
2022-06-12 09:46:58 +02:00
|
|
|
<select name="system.herbe" class="herbe" data-dtype="String">
|
2022-09-07 18:47:56 +02:00
|
|
|
{{selectOptions herbesSoins selected=system.herbe localize=false}}
|
2021-04-04 09:37:35 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-04-04 18:37:16 +02:00
|
|
|
<label>Nombre de brins</label>
|
2022-09-07 18:47:56 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.herbebrins" value="{{system.herbebrins}}" data-dtype="Number" />
|
2021-04-04 18:37:16 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Bonus</label>
|
2022-09-07 18:47:56 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.herbebonus" value="{{system.herbebonus}}" data-dtype="Number" />
|
2021-04-04 09:37:35 +02:00
|
|
|
</div>
|
2021-04-04 18:37:16 +02:00
|
|
|
{{/if}}
|
2021-04-04 22:34:59 +02:00
|
|
|
{{#if isRepos}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Herbe</label>
|
2022-06-12 09:46:58 +02:00
|
|
|
<select name="system.herbe" class="herbe" data-dtype="String">
|
2022-09-07 18:47:56 +02:00
|
|
|
{{selectOptions herbesRepos selected=system.herbe localize=false}}
|
2021-04-04 22:34:59 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Nombre de brins</label>
|
2022-09-07 18:47:56 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.herbebrins" value="{{system.herbebrins}}" data-dtype="Number" />
|
2021-04-04 22:34:59 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Bonus</label>
|
2022-09-07 18:47:56 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.herbebonus" value="{{system.herbebonus}}" data-dtype="Number" />
|
2021-04-04 22:34:59 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Repos Alchimique ?</label>
|
2022-09-07 18:47:56 +02:00
|
|
|
<input class="attribute-value" type="checkbox" name="system.reposalchimique" {{#if system.reposalchimique}}checked{{/if}}/>
|
2021-04-04 22:34:59 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-09-07 18:47:56 +02:00
|
|
|
{{#if system.magique}}
|
2021-04-04 09:37:35 +02:00
|
|
|
<div class="form-group">
|
2021-04-04 18:37:16 +02:00
|
|
|
<label>Points de rêve</label>
|
2022-09-07 18:47:56 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.pr" value="{{system.pr}}" data-dtype="Number" />
|
2021-04-04 09:37:35 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-04-04 18:37:16 +02:00
|
|
|
<label for="xp">Permanente ? </label>
|
2022-09-07 18:47:56 +02:00
|
|
|
<input class="attribute-value" type="checkbox" name="system.prpermanent" {{#if system.prpermanent}}checked{{/if}}/>
|
2021-04-04 18:37:16 +02:00
|
|
|
</div>
|
2022-10-08 14:25:31 +02:00
|
|
|
{{#if isSoins}}
|
2021-04-04 18:37:16 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Points de guérison </label>
|
|
|
|
<label for="xp">{{pointsGuerison}}</label>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Date de l'Enchantement : Jour/Mois (date actuelle : {{dateActuelle}})</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<select name="splitDate.day" class="enchanteDate" id="jourMois" data-dtype="String">
|
|
|
|
{{#select splitDate.day}}
|
|
|
|
{{#each jourMoisOptions as |key|}}
|
|
|
|
<option value="{{key}}">{{numberFormat key decimals=0}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
<select name="splitDate.month" class="enchanteDate" id="nomMois" data-dtype="String">
|
|
|
|
{{#select splitDate.month}}
|
2022-11-01 01:03:35 +01:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.html"}}
|
2021-04-04 18:37:16 +02:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2021-06-29 16:03:10 +02:00
|
|
|
|
2022-11-29 00:01:54 +01:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}
|
2021-06-29 16:03:10 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
2020-11-09 22:35:26 +01:00
|
|
|
</section>
|
|
|
|
|
|
|
|
</form>
|