Skip to content

Commit

Permalink
Automate the skill selection of Marshal Dedication (foundryvtt#7014)
Browse files Browse the repository at this point in the history
  • Loading branch information
TikaelSol authored Mar 29, 2023
1 parent c1d70d6 commit 67af6ff
Showing 1 changed file with 90 additions and 0 deletions.
90 changes: 90 additions & 0 deletions packs/data/feats.db/marshal-dedication.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,96 @@
"mental",
"visual"
]
},
{
"adjustName": false,
"choices": [
{
"label": "PF2E.SkillDip",
"predicate": [
"skill:dip:rank:0"
],
"value": "dip-trained"
},
{
"label": "PF2E.SkillDip",
"predicate": [
"skill:dip:rank:1"
],
"value": "dip-expert"
},
{
"label": "PF2E.SkillItm",
"predicate": [
"skill:itm:rank:0"
],
"value": "itm-trained"
},
{
"label": "PF2E.SkillItm",
"predicate": [
"skill:itm:rank:1"
],
"value": "itm-expert"
}
],
"key": "ChoiceSet",
"predicate": [
{
"or": [
{
"lte": [
"skill:itm:rank",
1
]
},
{
"lte": [
"skill:dip:rank",
1
]
}
]
}
],
"prompt": "PF2E.SpecificRule.Prompt.Skill",
"rollOption": "marshal-skill"
},
{
"key": "ActiveEffectLike",
"mode": "upgrade",
"path": "system.skills.dip.rank",
"predicate": [
"marshal-skill:dip-trained"
],
"value": 1
},
{
"key": "ActiveEffectLike",
"mode": "upgrade",
"path": "system.skills.dip.rank",
"predicate": [
"marshal-skill:dip-expert"
],
"value": 2
},
{
"key": "ActiveEffectLike",
"mode": "upgrade",
"path": "system.skills.itm.rank",
"predicate": [
"marshal-skill:itm-trained"
],
"value": 1
},
{
"key": "ActiveEffectLike",
"mode": "upgrade",
"path": "system.skills.itm.rank",
"predicate": [
"marshal-skill:itm-expert"
],
"value": 2
}
],
"source": {
Expand Down

0 comments on commit 67af6ff

Please sign in to comment.