Skip to content

Commit

Permalink
Improve implement roll options and weapon filter
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrogrullada committed Oct 16, 2024
1 parent de5f751 commit 96576b8
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 10 deletions.
13 changes: 11 additions & 2 deletions packs/classfeatures/weapon.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@
"adjustName": false,
"choices": {
"filter": [
"item:level:0",
"item:usage:hands:1",
{
"not": "item:trait:consumable"
"nor": [
"item:trait:consumable",
"item:magical"
]
}
],
"itemType": "weapon"
Expand Down Expand Up @@ -65,6 +67,13 @@
"weapon-implement:equipped"
]
},
{
"key": "RollOption",
"option": "implement:weapon:equipped",
"predicate": [
"weapon-implement:equipped"
]
},
{
"itemId": "{item|flags.pf2e.itemGrants.weaponImplement.id}",
"key": "ItemAlteration",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/amulet-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "amulet-implement:equipped"
"option": "implement:amulet:equipped"
}
],
"size": "med",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/bell-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "bell-implement:equipped"
"option": "implement:bell:equipped"
}
],
"size": "med",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/chalice-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "chalice-implement:equipped"
"option": "implement:chalice:equipped"
}
],
"size": "med",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/lantern-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "lantern-implement:equipped"
"option": "implement:lantern:equipped"
}
],
"size": "med",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/mirror-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "mirror-implement:equipped"
"option": "implement:mirror:equipped"
}
],
"size": "med",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/regalia-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "regalia-implement:equipped"
"option": "implement:regalia:equipped"
}
],
"size": "med",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/tome-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "tome-implement:equipped"
"option": "implement:wand:equipped"
}
],
"size": "med",
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/wand-implement.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"key": "RollOption",
"option": "wand-implement:equipped"
"option": "implement:wand:equipped"
}
],
"size": "med",
Expand Down

0 comments on commit 96576b8

Please sign in to comment.