Skip to content

Commit

Permalink
Add effect for Staggering Fire (#16610)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrogrullada authored Sep 20, 2024
1 parent f67a23d commit 3dc9263
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 2 deletions.
88 changes: 88 additions & 0 deletions packs/feat-effects/effect-staggering-fire.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"_id": "qaIqu9H9OdX1B5wy",
"img": "icons/skills/ranged/projectile-strike-impale-gray.webp",
"name": "Effect: Staggering Fire",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.feats-srd.Item.Staggering Fire]</p>\n<p>The target takes a -5-foot circumstance penalty to its Speed until the end of its turn, or a -10-foot circumstance penalty on a critical hit.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "rounds",
"value": 1
},
"level": {
"value": 1
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Lost Omens: Knights of Lastwall"
},
"rules": [
{
"choices": [
{
"label": "PF2E.Check.Result.Degree.Check.success",
"predicate": [
{
"or": [
"parent:context:check:outcome:2",
{
"not": {
"gte": [
"parent:context:check:outcome",
0
]
}
}
]
}
],
"value": -5
},
{
"label": "PF2E.Check.Result.Degree.Check.criticalSuccess",
"predicate": [
{
"or": [
"parent:context:check:outcome:3",
{
"not": {
"gte": [
"parent:context:check:outcome",
0
]
}
}
]
}
],
"value": -10
}
],
"flag": "penalty",
"key": "ChoiceSet",
"prompt": "PF2E.SpecificRule.Prompt.DegreeOfSuccess"
},
{
"key": "FlatModifier",
"selector": "speed",
"type": "circumstance",
"value": "@item.flags.pf2e.rulesSelections.penalty"
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
29 changes: 27 additions & 2 deletions packs/feats/staggering-fire.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"category": "class",
"description": {
"value": "<p>You've learned how to fire at enemies to slow them down, allowing innocents and fellow knights alike time to escape. Make a ranged Strike with a weapon in the bow or crossbow weapon group. On a hit, the target takes a -5-foot circumstance penalty to its Speed until the end of its turn, or a -10-foot circumstance penalty on a critical hit.</p>"
"value": "<p>You've learned how to fire at enemies to slow them down, allowing innocents and fellow knights alike time to escape. Make a ranged Strike with a weapon in the bow or crossbow weapon group. On a hit, the target takes a -5-foot circumstance penalty to its Speed until the end of its turn, or a -10-foot circumstance penalty on a critical hit.</p>\n<p>@UUID[Compendium.pf2e.feat-effects.Item.Effect: Staggering Fire]</p>"
},
"level": {
"value": 6
Expand All @@ -28,7 +28,32 @@
"remaster": false,
"title": "Pathfinder Lost Omens: Knights of Lastwall"
},
"rules": [],
"rules": [
{
"key": "RollOption",
"option": "staggering-fire",
"toggleable": true
},
{
"key": "Note",
"outcome": [
"success",
"criticalSuccess"
],
"predicate": [
{
"or": [
"item:group:bow",
"item:group:crossbow"
]
},
"staggering-fire"
],
"selector": "ranged-strike-attack-roll",
"text": "{item|description}",
"title": "{item|name}"
}
],
"traits": {
"rarity": "uncommon",
"value": [
Expand Down

0 comments on commit 3dc9263

Please sign in to comment.