#29 : Gestion XP dans les sorts

This commit is contained in:
sladecraven 2020-11-18 08:32:23 +01:00
parent e13b04b15d
commit 162bd6f677
3 changed files with 8 additions and 3 deletions

View File

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

View File

@ -590,7 +590,8 @@
"portée": "", "portée": "",
"caseTMR": "", "caseTMR": "",
"caseTMRspeciale": "", "caseTMRspeciale": "",
"ptreve": "" "ptreve": "",
"xp": 0
}, },
"herbe": { "herbe": {
"description": "", "description": "",

View File

@ -52,6 +52,10 @@
<label for="xp">Jet de Resistance</label> <label for="xp">Jet de Resistance</label>
<input class="attribute-value" type="text" name="data.JR" value="{{data.JR}}" data-dtype="String"/> <input class="attribute-value" type="text" name="data.JR" value="{{data.JR}}" data-dtype="String"/>
</div> </div>
<div class="form-group">
<label for="xp">XP </label>
<input class="attribute-value" type="text" name="data.xp" value="{{data.xp}}" data-dtype="Number"/>
</div>
<div class="flexcol"> <div class="flexcol">
<span><label>Description : </label></span> <span><label>Description : </label></span>
<div class="form-group editor"> <div class="form-group editor">