Merge branch 'default-diffLibre' into 'v1.2'
#104 Difficulté par défaut See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!102
This commit is contained in:
commit
35ec95a176
@ -39,7 +39,7 @@ export class RdDRoll extends Dialog {
|
||||
carac: actor.data.data.carac,
|
||||
finalLevel: 0,
|
||||
diffConditions: rollData.arme ? RdDBonus.bonusAttaque(rollData.surpriseDefenseur) :0,
|
||||
diffLibre: 0,
|
||||
diffLibre: rollData.competence?.data.default_diffLibre ?? 0,
|
||||
editLibre: true,
|
||||
editConditions: true,
|
||||
forceValue: actor.getForceValue(),
|
||||
|
@ -5,7 +5,7 @@
|
||||
"version": "1.2.0",
|
||||
"minimumCoreVersion": "0.7.5",
|
||||
"compatibleCoreVersion": "0.7.8",
|
||||
"templateVersion": 77,
|
||||
"templateVersion": 78,
|
||||
"author": "LeRatierBretonnien",
|
||||
"esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ],
|
||||
"styles": ["styles/simple.css"],
|
||||
|
@ -599,6 +599,7 @@
|
||||
},
|
||||
"competence": {
|
||||
"niveau": 0,
|
||||
"default_diffLibre": 0,
|
||||
"base": 0,
|
||||
"categorie": "",
|
||||
"xp": 0,
|
||||
@ -610,6 +611,7 @@
|
||||
"competencecreature": {
|
||||
"categorie_parade": "",
|
||||
"niveau": 0,
|
||||
"default_diffLibre": 0,
|
||||
"carac_value": 0,
|
||||
"iscombat": false,
|
||||
"isparade": false,
|
||||
|
@ -46,6 +46,10 @@
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="default_diffLibre">Difficulté libre par défaut</label>
|
||||
<input class="attribute-value" type="text" name="data.default_diffLibre" value="{{data.default_diffLibre}}" data-dtype="Number"/>
|
||||
</div>
|
||||
{{#if (eq data.categorie 'draconic')}}
|
||||
<div class="form-group">
|
||||
<label for="xp">XP Sort </label>
|
||||
|
@ -16,6 +16,10 @@
|
||||
<label for="niveau">Valeur de Caractéristique </label>
|
||||
<input class="attribute-value" type="text" name="data.carac_value" value="{{data.carac_value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="default_diffLibre">Difficulté libre par défaut</label>
|
||||
<input class="attribute-value" type="text" name="data.default_diffLibre" value="{{data.default_diffLibre}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">Arme ? </label>
|
||||
<input class="attribute-value" type="checkbox" name="data.iscombat" {{#if data.iscombat}}checked{{/if}}/>
|
||||
|
Loading…
Reference in New Issue
Block a user