Gestion des signes draconiques #455

Closed
vincent.vandeme wants to merge 233 commits from v1.4-signes-draconiques into master
6 changed files with 35 additions and 8 deletions
Showing only changes of commit e4f432c781 - Show all commits

View File

@ -67,7 +67,7 @@ export class RdDItemCompetence extends Item {
}
/* -------------------------------------------- */
static getNiveauBase(category) {
return categorieCompetences[category].base;
return categorieCompetences[category].niveau;
}
/* -------------------------------------------- */
static getLabelCategorie(category) {

View File

@ -137,6 +137,7 @@ export class RdDUtility {
'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-categorie-vehicule.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-competence.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-herbesoin-ingredient.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-initpremierround.html',
'systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html',
'systems/foundryvtt-reve-de-dragon/templates/sort-draconic.html',

View File

@ -2,11 +2,11 @@
"name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.3.36",
"version": "1.4.0",
"manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.9",
"templateVersion": 97,
"templateVersion": 110,
"author": "LeRatierBretonnien",
"authors": [
{

View File

@ -723,7 +723,11 @@
"encombrement": 0,
"rarete": "",
"categorie": "",
"cout": 0
"soinherbe": "",
"soinherbebonus": 0,
"pr": 0,
"prdate": 0,
"cout": 0
},
"rencontresTMR": {
"description": ""

View File

@ -1,5 +1,7 @@
<option value=""></option>
<option value="Alchimie">Alchimie</option>
<option value="Cuisine">Cuisine</option>
<option value="Repos">Repos</option>
<option value="Soin">Soin</option>
<option value="Alchimie">Potion d'Alchimie</option>
<option value="Cuisine">Potion de Cuisine</option>
<option value="Repos">Potion de Repos</option>
<option value="ReposEnchante">Potion de Repos Enchantée</option>
<option value="Soin">Potion de Soin</option>
<option value="SoinEnchante">Potion de Soin Enchantée</option>

View File

@ -36,6 +36,26 @@
{{/select}}
</select>
</div>
<div class="form-group">
<label>Herbe</label>
<select name="data.soinherbe" class="soinherbe" data-dtype="String">
{{#select data.soinherbe}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-herbesoin-ingredient.html"}}
{{/select}}
</select>
</div>
<div class="form-group">
<label>Bonus de l'herbe</label>
<input class="attribute-value" type="text" name="data.soinherbebonus" value="{{data.soinherbebonus}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Points de rêve investis</label>
<input class="attribute-value" type="text" name="data.pr" value="{{data.pr}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Date de l'Enchantement</label>
<input class="attribute-value" type="text" name="data.prdate" value="{{data.prdate}}" data-dtype="Number" />
</div>
<div class="flexcol">
<span><label>Description :</label></span>
<div class="form-group editor">