Skip to content

Commit

Permalink
Add automation for NPC Felling Blow and Lunge (#17476)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonward authored Nov 25, 2024
1 parent 425ec3b commit 42761ab
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 9 deletions.
21 changes: 20 additions & 1 deletion packs/blog-bestiary/eleukas.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,26 @@
"remaster": false,
"title": ""
},
"rules": [],
"rules": [
{
"domain": "all",
"key": "RollOption",
"option": "lunge",
"toggleable": true
},
{
"definition": [
"item:melee"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"lunge"
],
"property": "weapon-traits",
"value": "reach"
}
],
"slug": null,
"traits": {
"rarity": "common",
Expand Down
37 changes: 35 additions & 2 deletions packs/kingmaker-bestiary/corax.json
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,47 @@
},
"category": "offensive",
"description": {
"value": "<p>Corax lunges toward a foe and makes a Strike with his greataxe, increasing his reach by 5 feet for that Strike. If he hits, the target must succeed at a @Check[fortitude|dc:19] save to avoid being knocked @UUID[Compendium.pf2e.conditionitems.Item.Prone] (and @UUID[Compendium.pf2e.conditionitems.Item.Stunned]{Stunned 1} on a critical failure).</p>"
"value": "<p>Corax lunges toward a foe and makes a Strike with his greataxe, increasing his reach by 5 feet for that Strike. If he hits, the target must succeed at a @Check[fortitude|dc:19|options:inflicts:prone] save to avoid being knocked @UUID[Compendium.pf2e.conditionitems.Item.Prone] (and @UUID[Compendium.pf2e.conditionitems.Item.Stunned]{Stunned 1} on a critical failure).</p>"
},
"publication": {
"license": "OGL",
"remaster": false,
"title": ""
},
"rules": [],
"rules": [
{
"domain": "all",
"key": "RollOption",
"option": "felling-blow",
"toggleable": true
},
{
"definition": [
"item:slug:greataxe"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"felling-blow"
],
"property": "weapon-traits",
"value": "reach"
},
{
"key": "Note",
"outcome": [
"criticalSuccess",
"success"
],
"predicate": [
"felling-blow"
],
"selector": "greataxe-attack",
"text": "{item|system.description.value}",
"title": "{item|name}",
"visibility": "owner"
}
],
"slug": null,
"traits": {
"rarity": "common",
Expand Down
37 changes: 36 additions & 1 deletion packs/pfs-season-1-bestiary/vigilant-guard.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,42 @@
"remaster": false,
"title": ""
},
"rules": [],
"rules": [
{
"domain": "all",
"key": "RollOption",
"option": "lunge",
"toggleable": true
},
{
"definition": [
"item:melee",
{
"not": "item:trait:reach"
}
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"lunge"
],
"property": "weapon-traits",
"value": "reach"
},
{
"definition": [
"item:melee",
"item:trait:reach-10"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"lunge"
],
"property": "weapon-traits",
"value": "reach-15"
}
],
"slug": null,
"traits": {
"rarity": "common",
Expand Down
23 changes: 21 additions & 2 deletions packs/pfs-season-5-bestiary/hardened-locust-knight.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"title": ""
},
"rules": [],
"slug": "scythe",
"slug": "rotcarver-scythe",
"traits": {
"value": [
"deadly-d10",
Expand Down Expand Up @@ -416,7 +416,26 @@
"remaster": false,
"title": ""
},
"rules": [],
"rules": [
{
"domain": "all",
"key": "RollOption",
"option": "lunge",
"toggleable": true
},
{
"definition": [
"item:slug:rotcarver-scythe"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"lunge"
],
"property": "weapon-traits",
"value": "reach"
}
],
"slug": null,
"traits": {
"value": []
Expand Down
23 changes: 21 additions & 2 deletions packs/pfs-season-5-bestiary/locust-knight.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"title": ""
},
"rules": [],
"slug": "scythe",
"slug": "rotcarver-scythe",
"traits": {
"value": [
"deadly-d10",
Expand Down Expand Up @@ -387,7 +387,26 @@
"remaster": false,
"title": ""
},
"rules": [],
"rules": [
{
"domain": "all",
"key": "RollOption",
"option": "lunge",
"toggleable": true
},
{
"definition": [
"item:slug:rotcarver-scythe"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"lunge"
],
"property": "weapon-traits",
"value": "reach"
}
],
"slug": null,
"traits": {
"value": []
Expand Down
21 changes: 20 additions & 1 deletion packs/seven-dooms-for-sandpoint-bestiary/chertus-jheed.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,26 @@
"remaster": false,
"title": ""
},
"rules": [],
"rules": [
{
"domain": "all",
"key": "RollOption",
"option": "lunge",
"toggleable": true
},
{
"definition": [
"item:slug:fist"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"lunge"
],
"property": "weapon-traits",
"value": "reach"
}
],
"slug": null,
"traits": {
"value": []
Expand Down

0 comments on commit 42761ab

Please sign in to comment.