Ajout des niveaux min/max sur les livres

This commit is contained in:
sladecraven 2021-01-06 12:10:52 +01:00
parent 92fc7eac48
commit 5178d1f389
3 changed files with 12 additions and 2 deletions

View File

@ -2,10 +2,10 @@
"name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.2.0",
"version": "1.2.1",
"minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.8",
"templateVersion": 78,
"templateVersion": 79,
"author": "LeRatierBretonnien",
"esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ],
"styles": ["styles/simple.css"],

View File

@ -674,6 +674,8 @@
"points_de_tache": 0,
"encombrement": 0,
"xp": "",
"niveau_minimum": 0,
"niveau_maximum": 0,
"cout": 0
},
"potion": {

View File

@ -34,6 +34,14 @@
<label for="xp">Expérience</label>
<input class="attribute-value" type="text" name="data.xp" value="{{data.xp}}" data-dtype="String"/>
</div>
<div class="form-group">
<label for="xp">Niveau minimum</label>
<input class="attribute-value" type="text" name="data.niveau_minimum" value="{{data.niveau_minimum}}" data-dtype="Number"/>
</div>
<div class="form-group">
<label for="xp">Niveau maximum</label>
<input class="attribute-value" type="text" name="data.niveau_maximum" value="{{data.niveau_maximum}}" data-dtype="Number"/>
</div>
<div class="form-group">
<label for="xp">Encombrement </label>
<input class="attribute-value" type="text" name="data.encombrement" value="{{data.encombrement}}" data-dtype="Number"/>