Skip to content

Commit

Permalink
Add Deathdrinking effects (#17930)
Browse files Browse the repository at this point in the history
  • Loading branch information
reyzor1991 authored Jan 18, 2025
1 parent a201c9b commit d21e119
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 1 deletion.
70 changes: 70 additions & 0 deletions packs/equipment-effects/effect-deathdrinking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"_id": "VIYfrecOd54NUPur",
"img": "systems/pf2e/icons/equipment/runes/weapon-property-runes/weapon-property-runes.webp",
"name": "Effect: Deathdrinking",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.equipment-srd.Item.Deathdrinking]</p>\n<p>If the creature you killed was living you gain a +1 item bonus to attack and damage rolls. If the creature you destroyed was undead you gain a number of temporary HP equal to twice your level.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "minutes",
"value": 10
},
"level": {
"value": 1
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Kingmaker"
},
"rules": [
{
"choices": [
{
"label": "PF2E.TraitUndead",
"value": "undead"
},
{
"label": "PF2E.ModeOfBeing.Living",
"value": "living"
}
],
"rollOption": "deathdrinking",
"key": "ChoiceSet"
},
{
"key": "FlatModifier",
"selector": [
"attack-roll",
"damage"
],
"type": "item",
"predicate": [
"deathdrinking:living"
],
"value": 1
},
{
"key": "TempHP",
"predicate": [
"deathdrinking:undead"
],
"value": "@item.origin.level*2"
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
2 changes: 1 addition & 1 deletion packs/equipment/deathdrinking.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"containerId": null,
"description": {
"value": "<p>A weapon etched with a <em>deathdrinking</em> rune shimmers with dark purple energy. When held by a living creature, the weapon causes twinges of hunger to manifest.</p>\n<p>While holding a <em>deathdrinking weapon</em>, you gain a +1 item bonus to saving throws against void damage and death effects. When you critically hit a creature with a <em>deathdrinking weapon</em>, you inflict an additional 1d6 points of vitality or void damage to the creature-whichever type of damage would harm the creature. You also gain the following reaction when wielding a <em>deathdrinking weapon</em>.</p>\n<p><strong>Activate</strong> <span class=\"action-glyph\">r</span> envision</p>\n<p><strong>Frequency</strong> once per day</p>\n<p><strong>Trigger</strong> you kill or destroy a creature with the deathdrinking weapon</p>\n<hr />\n<p><strong>Effect</strong> If the creature you killed was living, you gain a +1 item bonus to attack and damage rolls for 10 minutes. If the creature you destroyed was undead, you gain a number of temporary HP equal to twice your level for 10 minutes.</p>"
"value": "<p>A weapon etched with a <em>deathdrinking</em> rune shimmers with dark purple energy. When held by a living creature, the weapon causes twinges of hunger to manifest.</p>\n<p>While holding a <em>deathdrinking weapon</em>, you gain a +1 item bonus to saving throws against void damage and death effects. When you critically hit a creature with a <em>deathdrinking weapon</em>, you inflict an additional 1d6 points of vitality or void damage to the creature-whichever type of damage would harm the creature. You also gain the following reaction when wielding a <em>deathdrinking weapon</em>.</p>\n<p><strong>Activate</strong> <span class=\"action-glyph\">r</span> envision</p>\n<p><strong>Frequency</strong> once per day</p>\n<p><strong>Trigger</strong> you kill or destroy a creature with the deathdrinking weapon</p>\n<hr />\n<p><strong>Effect</strong> If the creature you killed was living, you gain a +1 item bonus to attack and damage rolls for 10 minutes. If the creature you destroyed was undead, you gain a number of temporary HP equal to twice your level for 10 minutes.</p>\n<p>@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Deathdrinking]</p></p>"
},
"hardness": 0,
"hp": {
Expand Down
3 changes: 3 additions & 0 deletions static/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2871,6 +2871,9 @@
"Troubleshooting": "Troubleshooting",
"WorldNotReady": "Game world not ready: try again in a few seconds."
},
"ModeOfBeing": {
"Living": "Living"
},
"ModifierNamePlaceholder": "Name",
"ModifierTitle": "Modifier",
"ModifierType": {
Expand Down

0 comments on commit d21e119

Please sign in to comment.