Skip to content

Commit

Permalink
Add effect for Heroes' Feast (foundryvtt#12240)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonward committed Dec 14, 2023
1 parent c3b3af1 commit 4d4f85c
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 1 deletion.
83 changes: 83 additions & 0 deletions packs/spell-effects/spell-effect-heroes-feast.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"_id": "IhorZCrhO4dCq6n3",
"img": "systems/pf2e/icons/spells/heroes-feast.webp",
"name": "Spell Effect: Heroes' Feast",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.spells-srd.Item.Heroes' Feast]</p>\n<p>Each guest gains temporary Hit Points. On a critical success, guests also gain a +2 status bonus to saves against disease, fear, and poison effects.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "hours",
"value": 12
},
"level": {
"value": 5
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Advanced Player's Guide"
},
"rules": [
{
"choices": [
{
"label": "PF2E.Check.Result.Degree.Check.criticalSuccess",
"value": "critical-success"
},
{
"label": "PF2E.Check.Result.Degree.Check.success",
"value": "success"
}
],
"flag": "heroesFeast",
"key": "ChoiceSet",
"prompt": "PF2E.SpecificRule.Prompt.DegreeOfSuccess",
"rollOption": "heroes-feast"
},
{
"key": "TempHP",
"predicate": [
"heroes-feast:critical-success"
],
"value": "@item.level*4"
},
{
"key": "TempHP",
"predicate": [
"heroes-feast:success"
],
"value": "@item.level*2"
},
{
"key": "FlatModifier",
"predicate": [
"heroes-feast:critical-success",
{
"or": [
"disease",
"fear",
"poison"
]
}
],
"selector": "saving-throw",
"type": "status",
"value": 2
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
2 changes: 1 addition & 1 deletion packs/spells/heroes-feast.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"damage": {},
"defense": null,
"description": {
"value": "<p>You conjure otherworldly beings to serve you and your companions a feast with restorative properties. These mysterious beings may be fey, divine, or other supernatural servitors, as appropriate for the primary check. After the first hour of the ritual, these servants appear and serve a massive feast, complete with an exquisite table and up to 10 place settings. The bounteous spread consists of all manner of dishes, including the guests' childhood comfort foods, modern delicacies, and preferred drinks. The summoned servants spend the next 3 hours waiting on you and the other guests, fetching additional food, pouring drinks, and so forth. During this time, you and the other guests must strive to be as polite and gracious as possible to avoid offending your mysterious hosts. At the feast's end, the ritual is completed and you and the secondary caster attempt your checks as normal. If the feast is interrupted at any point, the servants immediately vanish with their provisions and the ritual is disrupted.</p>\n<hr />\n<p><strong>Critical Success</strong> The feast is nourishing and revitalizing. The magical food casts <em>@UUID[Compendium.pf2e.spells-srd.Item.Cleanse Affliction]</em>, <em>@UUID[Compendium.pf2e.spells-srd.Item.Cleanse Affliction]</em>, and <em>@UUID[Compendium.pf2e.spells-srd.Item.Clear Mind]</em> on each guest for each relevant affliction, using your modifier for the primary skill check as the counteract modifier. Each guest also recovers 100 Hit Points and gains 20 temporary Hit Points for the next 12 hours. Guests also gain a +2 status bonus to saves against disease, fear, and poison effects for the next 12 hours.</p>\n<p><strong>Success</strong> As critical success, except guests recover only 50 Hit Points, gain only 10 temporary Hit Points, and don't gain the status bonus to saves.</p>\n<p><strong>Failure</strong> You and the other guests taste ash in your mouths and realize that the feast contained nothing of sustenance.</p>\n<p><strong>Critical Failure</strong> The otherworldly servants were offended by your behavior or the hubris you demonstrated in summoning them and poisoned the feast. You and your guests become @UUID[Compendium.pf2e.conditionitems.Item.Sickened]{Sickened 4} and can't reduce the condition for 12 hours.</p>\n<hr />\n<p><strong>Heightened (+1)</strong> Increase the Hit Points recovered by 10 and the temporary Hit Points by 2 (or twice each amount on a critical success).</p>"
"value": "<p>You conjure otherworldly beings to serve you and your companions a feast with restorative properties. These mysterious beings may be fey, divine, or other supernatural servitors, as appropriate for the primary check. After the first hour of the ritual, these servants appear and serve a massive feast, complete with an exquisite table and up to 10 place settings. The bounteous spread consists of all manner of dishes, including the guests' childhood comfort foods, modern delicacies, and preferred drinks. The summoned servants spend the next 3 hours waiting on you and the other guests, fetching additional food, pouring drinks, and so forth. During this time, you and the other guests must strive to be as polite and gracious as possible to avoid offending your mysterious hosts. At the feast's end, the ritual is completed and you and the secondary caster attempt your checks as normal. If the feast is interrupted at any point, the servants immediately vanish with their provisions and the ritual is disrupted.</p>\n<hr />\n<p><strong>Critical Success</strong> The feast is nourishing and revitalizing. The magical food casts @UUID[Compendium.pf2e.spells-srd.Item.Cleanse Affliction] and @UUID[Compendium.pf2e.spells-srd.Item.Clear Mind] on each guest for each relevant affliction, using your modifier for the primary skill check as the counteract modifier. Each guest also recovers [[/r (@item.level*20)[healing]]] Hit Points and gains 20 temporary Hit Points for the next 12 hours. Guests also gain a +2 status bonus to saves against disease, fear, and poison effects for the next 12 hours.</p>\n<p><strong>Success</strong> As critical success, except guests recover only [[/r (@item.level*10)[healing]]] Hit Points, gain only 10 temporary Hit Points, and don't gain the status bonus to saves.</p>\n<p><strong>Failure</strong> You and the other guests taste ash in your mouths and realize that the feast contained nothing of sustenance.</p>\n<p><strong>Critical Failure</strong> The otherworldly servants were offended by your behavior or the hubris you demonstrated in summoning them and poisoned the feast. You and your guests become @UUID[Compendium.pf2e.conditionitems.Item.Sickened]{Sickened 4} and can't reduce the condition for 12 hours.</p>\n<p>@UUID[Compendium.pf2e.spell-effects.Item.Spell Effect: Heroes' Feast]</p>\n<hr />\n<p><strong>Heightened (+1)</strong> Increase the Hit Points recovered by 10 and the temporary Hit Points by 2 (or twice each amount on a critical success).</p>"
},
"duration": {
"sustained": false,
Expand Down

0 comments on commit 4d4f85c

Please sign in to comment.