Skip to content

Commit

Permalink
Add variants to Lay on Hands and Touch of Corruption (foundryvtt#7769)
Browse files Browse the repository at this point in the history
* Add variants to Lay on Hands and Touch of Corruption

* add spelltype

* fix save type
  • Loading branch information
TikaelSol committed May 10, 2023
1 parent c838489 commit fa8f6f6
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 36 deletions.
85 changes: 68 additions & 17 deletions packs/data/spells.db/lay-on-hands.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"value": "focus"
},
"components": {
"focus": false,
"material": false,
"somatic": true,
"verbal": false
Expand All @@ -19,15 +20,7 @@
"value": ""
},
"damage": {
"value": {
"0": {
"type": {
"categories": [],
"value": "positive"
},
"value": "6"
}
}
"value": {}
},
"description": {
"value": "<p>Your hands become infused with positive energy, healing a living creature or damaging an undead creature with a touch.</p>\n<p>If you use lay on hands on a willing living target, you restore 6 Hit Points; if the target is one of your allies, they also gain a +2 status bonus to AC for 1 round.</p>\n<p>@UUID[Compendium.pf2e.spell-effects.Spell Effect: Lay on Hands]{Spell Effect: Lay on Hands}</p>\n<p>Against an undead target, you deal 1d6 damage and it must attempt a basic Fortitude save; if it fails, it also takes a -2 status penalty to AC for 1 round.</p>\n<p><em>@UUID[Compendium.pf2e.spells-srd.Lay on Hands (Vs. Undead)]{Lay on Hands (Vs. Undead)}</em></p>\n<hr />\n<p><strong>Heightened (+1)</strong> The amount of healing increases by 6, and the damage to an undead target increases by 1d6.</p>"
Expand All @@ -38,19 +31,77 @@
"hasCounteractCheck": {
"value": false
},
"heightening": {
"damage": {
"0": "6"
},
"interval": 1,
"type": "interval"
},
"level": {
"value": 1
},
"materials": {
"value": ""
},
"overlays": {
"a33QUFoKgoOprovO": {
"_id": "a33QUFoKgoOprovO",
"name": "Lay on Hands (Vs. Undead)",
"overlayType": "override",
"sort": 2,
"system": {
"damage": {
"value": {
"37YW4ZGhxx7Y2mdI": {
"applyMod": false,
"type": {
"categories": [],
"subtype": "",
"value": "positive"
},
"value": "1d6"
}
}
},
"heightening": {
"damage": {
"37YW4ZGhxx7Y2mdI": "1d6"
},
"interval": 1,
"type": "interval"
},
"save": {
"basic": "basic",
"value": "fortitude"
},
"spellType": {
"value": "save"
}
}
},
"uLuOg62dVyxvbW66": {
"_id": "uLuOg62dVyxvbW66",
"name": "Lay on Hands (Healing)",
"overlayType": "override",
"sort": 1,
"system": {
"damage": {
"value": {
"b39tbePoPlJSzLku": {
"applyMod": false,
"type": {
"categories": [],
"subtype": "",
"value": "untyped"
},
"value": "6"
}
}
},
"heightening": {
"damage": {
"b39tbePoPlJSzLku": "6"
},
"interval": 1,
"type": "interval"
}
}
}
},
"prepared": {
"value": ""
},
Expand All @@ -63,7 +114,7 @@
"rules": [],
"save": {
"basic": "",
"value": "fortitude"
"value": ""
},
"school": {
"value": "necromancy"
Expand Down
89 changes: 70 additions & 19 deletions packs/data/spells.db/touch-of-corruption.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"value": "focus"
},
"components": {
"focus": false,
"material": false,
"somatic": true,
"verbal": false
Expand All @@ -19,15 +20,7 @@
"value": ""
},
"damage": {
"value": {
"0": {
"type": {
"categories": [],
"value": "negative"
},
"value": "1d6"
}
}
"value": {}
},
"description": {
"value": "<p>You infuse the target with negative energy. If the target is living, this deals 1d6 negative negative damage (basic Fortitude save); on a failed save, the target also takes a -2 status penalty to AC for 1 round.</p>\n<p>@UUID[Compendium.pf2e.spell-effects.Spell Effect: Touch of Corruption]{Spell Effect: Touch of Corruption}</p>\n<p>If the target is a willing undead creature, the target instead regains 6 Hit Points, and if you are the undead target, you also gain a +2 status bonus to damage rolls for 1 round.</p>\n<p><em>@UUID[Compendium.pf2e.spells-srd.Touch of Corruption (Healing)]{Touch of Corruption (Healing)}</em></p>\n<hr />\n<p><strong>Heightened (+1)</strong> Increase the damage dealt to a living creature by 1d6 or increase the Hit Points regained by undead by 6.</p>"
Expand All @@ -38,19 +31,77 @@
"hasCounteractCheck": {
"value": false
},
"heightening": {
"damage": {
"0": "1d6"
},
"interval": 1,
"type": "interval"
},
"level": {
"value": 1
},
"materials": {
"value": ""
},
"overlays": {
"2a6Vm4mIjBgrzlO2": {
"_id": "2a6Vm4mIjBgrzlO2",
"name": "Touch of Corruption (Vs. Living)",
"overlayType": "override",
"sort": 2,
"system": {
"damage": {
"value": {
"Esn7klJ9WRsIFnrE": {
"applyMod": false,
"type": {
"categories": [],
"subtype": "",
"value": "negative"
},
"value": "1d6"
}
}
},
"heightening": {
"damage": {
"Esn7klJ9WRsIFnrE": "1d6"
},
"interval": 1,
"type": "interval"
},
"save": {
"basic": "basic",
"value": "fortitude"
},
"spellType": {
"value": "save"
}
}
},
"gHIOzknAtexc6GUE": {
"_id": "gHIOzknAtexc6GUE",
"name": "Touch of Corruption (Healing)",
"overlayType": "override",
"sort": 1,
"system": {
"damage": {
"value": {
"cM137DAlBX1LcWAX": {
"applyMod": false,
"type": {
"categories": [],
"subtype": "",
"value": "untyped"
},
"value": "6"
}
}
},
"heightening": {
"damage": {
"cM137DAlBX1LcWAX": "6"
},
"interval": 1,
"type": "interval"
}
}
}
},
"prepared": {
"value": ""
},
Expand All @@ -62,8 +113,8 @@
},
"rules": [],
"save": {
"basic": "basic",
"value": "fortitude"
"basic": "",
"value": ""
},
"school": {
"value": "necromancy"
Expand All @@ -78,7 +129,7 @@
"value": "Pathfinder Advanced Player's Guide"
},
"spellType": {
"value": "save"
"value": "heal"
},
"sustained": {
"value": false
Expand Down

0 comments on commit fa8f6f6

Please sign in to comment.