modif formule d'initiative // avec nouvel attr combatStatus

This commit is contained in:
rwanoux
2024-11-22 10:51:59 +01:00
parent caea20665a
commit d592e7c221
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ Hooks.once('init', async function () {
* @type {String}
*/
CONFIG.Combat.initiative = {
formula: "(@abilities.reflexes.value + @skills.alertness.value)d10cs>=7",
formula: "(@abilities.reflexes.value + @skills.alertness.value)d10cs>=@combatStatus.difficulty",
decimals: 2
};
+8 -1
View File
@@ -374,6 +374,10 @@
"category": "world",
"rarity": 1
}
},
"combatStatus": {
"label": "",
"difficulty": 7
}
},
"npc": {
@@ -529,7 +533,10 @@
"templates": [
"base"
],
"needSkill": false
"needSkill": {
"value": false,
"skill": ""
}
},
"weapon": {
"templates": [