Enhance perks

This commit is contained in:
2021-12-19 15:35:54 +01:00
parent c1849edaf4
commit 474f34dadc
7 changed files with 191 additions and 97 deletions

View File

@@ -174,22 +174,137 @@
"perk": {
"level": 1,
"active": false,
"duration": "",
"features": {
"nrgcost": {
"label": "NRG cost to use",
"flag": false,
"type": "number",
"value": 0
},
"range": {
"label": "Range",
"flag": false,
"type": "range",
"value": ""
},
"nbtargets": {
"label": "# Targets",
"flag": false,
"type": "string",
"value": ""
},
"gainstatdice": {
"label": "Gain Stat Dice to Pool",
"flag": false,
"type": "statdice",
"value": ""
},
"gainspecdice": {
"label": "Gain Specialisation Dice",
"flag": false,
"type": "statdice",
"value": ""
},
"gainbonusdice": {
"label": "Gain Bonus Dice to Pool",
"flag": false,
"type": "string",
"value": ""
},
"gainotherdice": {
"label": "Gain Other Dice to Pool",
"flag": false,
"type": "statdice",
"value": ""
},
"targethindrance": {
"label": "Apply Hindrance to Target",
"flag": false,
"type": "string",
"value": ""
},
"sufferindrance": {
"label": "Perk User suffers Hindrance",
"flag": false,
"type": "string",
"value": ""
},
"affectedstat": {
"label": "Affected Stat",
"flag": false,
"type": "string",
"value": ""
},
"affectedspec": {
"label": "Affected Specialisation",
"flag": false,
"type": "string",
"value": ""
},
"affectspecial": {
"label": "Affects Special",
"flag": false,
"type": "string",
"value": ""
},
"bonushealth": {
"label": "Bonus to Health",
"flag": false,
"type": "string",
"value": ""
},
"bonusnrg": {
"label": "Bonus to NRG",
"flag": false,
"type": "string",
"value": ""
},
"bonusdelirium": {
"label": "Bonus to Delirium",
"flag": false,
"type": "string",
"value": ""
},
"gainmomentum": {
"label": "Gain Momentum",
"flag": false,
"type": "string",
"value": ""
},
"applyeffect": {
"label": "Apply Effect",
"flag": false,
"type": "string",
"value": ""
},
"removeeffect": {
"label": "Remove Effect",
"flag": false,
"type": "string",
"value": ""
},
"specialrule": {
"label": "Special Rule",
"flag": false,
"type": "text",
"value": ""
},
"upgrade1": {
"label": "Upgrade 1",
"flag": false,
"type": "string",
"value": ""
},
"upgrade2": {
"label": "Upgrade 2",
"flag": false,
"type": "string",
"value": ""
}
},
"roundcount": 0,
"nbuse": "",
"gainstatdice": "",
"gainbonusdice": 0,
"gainotherdice": 0,
"specialisation": [ {"name": "None"}],
"range": "",
"aoe": "",
"nbtargets": 0,
"nrgcost": 0,
"effectscaused": "",
"stataffected": "",
"targetresists": "",
"description": "",
"upgrades": "",
"rules": ""
"nbuse": ""
},
"power": {
"rollneeded": false,