Skip to content

Commit

Permalink
Add effects for Ghost Oil and Wounding Oil (foundryvtt#10910)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonward committed Oct 25, 2023
1 parent 51aac9b commit 26dcfbc
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 5 deletions.
60 changes: 60 additions & 0 deletions packs/equipment-effects/effect-ghost-oil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"_id": "sk5LgfXestDKxCnK",
"img": "systems/pf2e/icons/equipment/consumables/oils/ghost-oil.webp",
"name": "Effect: Ghost Oil",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.equipment-srd.Item.Ghost Oil]</p>\n<p>The selected weapon gains the effects of a <em>ghost touch</em> rune.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "minutes",
"value": 1
},
"level": {
"value": 4
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Lost Omens: Knights of Lastwall"
},
"rules": [
{
"choices": {
"ownedItems": true,
"predicate": [
"item:melee"
],
"types": [
"weapon"
]
},
"flag": "effectGhostOil",
"key": "ChoiceSet",
"prompt": "PF2E.SpecificRule.Prompt.Weapon"
},
{
"definition": [
"item:id:{item|flags.pf2e.rulesSelections.effectGhostOil}"
],
"key": "AdjustStrike",
"mode": "add",
"property": "property-runes",
"value": "ghost-touch"
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
57 changes: 57 additions & 0 deletions packs/equipment-effects/effect-wounding-oil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"_id": "2gRnUwzPylifTrUO",
"img": "icons/consumables/potions/potion-tube-corked-bat-gold-red.webp",
"name": "Effect: Wounding Oil",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.equipment-srd.Item.Wounding Oil]</p>\n<p>The selected weapon gains the benefits of the <em>wounding</em> rune.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "minutes",
"value": 1
},
"level": {
"value": 5
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Treasure Vault"
},
"rules": [
{
"choices": {
"ownedItems": true,
"types": [
"weapon"
]
},
"flag": "effectWoundingOil",
"key": "ChoiceSet",
"prompt": "PF2E.SpecificRule.Prompt.Weapon"
},
{
"definition": [
"item:id:{item|flags.pf2e.rulesSelections.effectWoundingOil}"
],
"key": "AdjustStrike",
"mode": "add",
"property": "property-runes",
"value": "wounding"
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
2 changes: 1 addition & 1 deletion packs/equipment/ghost-oil.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"containerId": null,
"description": {
"value": "<p>The vials containing this translucent, unsubstantial oil are always cold to the touch. Applying ghost oil to a melee weapon you're wielding or carrying causes it to become semitransparent and gain the effects of a <em>@UUID[Compendium.pf2e.equipment-srd.Item.Ghost Touch]</em> rune, but it also makes the weapon unable to harm corporeal creatures. The oil has no effect when applied to another creature's weapon. The effect of the oil lasts for 1 minute.</p>"
"value": "<p>The vials containing this translucent, unsubstantial oil are always cold to the touch. Applying <em>ghost oil</em> to a melee weapon you're wielding or carrying causes it to become semitransparent and gain the effects of a <em>@UUID[Compendium.pf2e.equipment-srd.Item.Ghost Touch]</em> rune, but it also makes the weapon unable to harm corporeal creatures. The oil has no effect when applied to another creature's weapon. The effect of the oil lasts for 1 minute.</p>\n<p>@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Ghost Oil]</p>"
},
"equippedBulk": {
"value": ""
Expand Down
8 changes: 4 additions & 4 deletions packs/equipment/wounding-oil.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_id": "lvGSfPbpAd9lHeX5",
"img": "systems/pf2e/icons/default-icons/consumable.svg",
"img": "icons/consumables/potions/potion-tube-corked-bat-gold-red.webp",
"name": "Wounding Oil",
"system": {
"autoDestroy": {
Expand All @@ -19,7 +19,7 @@
},
"containerId": null,
"description": {
"value": "<p><strong>Activate</strong> <span class=\"action-glyph\">1</span> Interact</p>\n<p>Smearing wounding oil, a crimson fluid, on a weapon causes it to smell strongly of blood and gives it the benefits of the @UUID[Compendium.pf2e.equipment-srd.Item.Wounding] rune for 1 minute.</p>"
"value": "<p><strong>Activate</strong> <span class=\"action-glyph\">1</span> Interact</p>\n<p>Smearing <em>wounding oil</em>, a crimson fluid, on a weapon causes it to smell strongly of blood and gives it the benefits of the @UUID[Compendium.pf2e.equipment-srd.Item.Wounding] rune for 1 minute.</p>\n<p>@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Wounding Oil]</p>"
},
"equippedBulk": {
"value": ""
Expand Down Expand Up @@ -58,8 +58,8 @@
"value": [
"consumable",
"magical",
"oil",
"necromancy"
"necromancy",
"oil"
]
},
"usage": {
Expand Down

0 comments on commit 26dcfbc

Please sign in to comment.