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,
|
carac: actor.data.data.carac,
|
||||||
finalLevel: 0,
|
finalLevel: 0,
|
||||||
diffConditions: rollData.arme ? RdDBonus.bonusAttaque(rollData.surpriseDefenseur) :0,
|
diffConditions: rollData.arme ? RdDBonus.bonusAttaque(rollData.surpriseDefenseur) :0,
|
||||||
diffLibre: 0,
|
diffLibre: rollData.competence?.data.default_diffLibre ?? 0,
|
||||||
editLibre: true,
|
editLibre: true,
|
||||||
editConditions: true,
|
editConditions: true,
|
||||||
forceValue: actor.getForceValue(),
|
forceValue: actor.getForceValue(),
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"minimumCoreVersion": "0.7.5",
|
"minimumCoreVersion": "0.7.5",
|
||||||
"compatibleCoreVersion": "0.7.8",
|
"compatibleCoreVersion": "0.7.8",
|
||||||
"templateVersion": 77,
|
"templateVersion": 78,
|
||||||
"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"],
|
||||||
|
@ -599,6 +599,7 @@
|
|||||||
},
|
},
|
||||||
"competence": {
|
"competence": {
|
||||||
"niveau": 0,
|
"niveau": 0,
|
||||||
|
"default_diffLibre": 0,
|
||||||
"base": 0,
|
"base": 0,
|
||||||
"categorie": "",
|
"categorie": "",
|
||||||
"xp": 0,
|
"xp": 0,
|
||||||
@ -610,6 +611,7 @@
|
|||||||
"competencecreature": {
|
"competencecreature": {
|
||||||
"categorie_parade": "",
|
"categorie_parade": "",
|
||||||
"niveau": 0,
|
"niveau": 0,
|
||||||
|
"default_diffLibre": 0,
|
||||||
"carac_value": 0,
|
"carac_value": 0,
|
||||||
"iscombat": false,
|
"iscombat": false,
|
||||||
"isparade": false,
|
"isparade": false,
|
||||||
|
@ -46,6 +46,10 @@
|
|||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</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')}}
|
{{#if (eq data.categorie 'draconic')}}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="xp">XP Sort </label>
|
<label for="xp">XP Sort </label>
|
||||||
|
@ -16,6 +16,10 @@
|
|||||||
<label for="niveau">Valeur de Caractéristique </label>
|
<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"/>
|
<input class="attribute-value" type="text" name="data.carac_value" value="{{data.carac_value}}" data-dtype="Number"/>
|
||||||
</div>
|
</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">
|
<div class="form-group">
|
||||||
<label for="xp">Arme ? </label>
|
<label for="xp">Arme ? </label>
|
||||||
<input class="attribute-value" type="checkbox" name="data.iscombat" {{#if data.iscombat}}checked{{/if}}/>
|
<input class="attribute-value" type="checkbox" name="data.iscombat" {{#if data.iscombat}}checked{{/if}}/>
|
||||||
|
Loading…
Reference in New Issue
Block a user