Skip to content

Commit

Permalink
Add spell effect for Runic Weapon (#17267)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrogrullada authored Nov 9, 2024
1 parent e8a18f6 commit 290b90d
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 1 deletion.
199 changes: 199 additions & 0 deletions packs/spell-effects/spell-effect-runic-impression.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
{
"_id": "Vc97f8ChfcZzprlZ",
"img": "icons/magic/symbols/runes-etched-steel-blade.webp",
"name": "Spell Effect: Runic Impression",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.spells-srd.Item.Runic Impression]</p>\n<p>Your unarmed attacks or weapon gain the benefits of a weapon rune you choose.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "minutes",
"value": 1
},
"level": {
"value": 4
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Secrets of Magic"
},
"rules": [
{
"adjustName": false,
"choices": [
{
"label": "PF2E.WeaponTypeUnarmed",
"value": "unarmed"
},
{
"label": "TYPES.Item.weapon",
"value": "weapon"
}
],
"key": "ChoiceSet",
"prompt": "PF2E.SpecificRule.Prompt.WeaponOrUnarmed",
"rollOption": "runic-impression"
},
{
"choices": {
"ownedItems": true,
"types": [
"weapon"
]
},
"flag": "weapon",
"key": "ChoiceSet",
"predicate": [
"runic-impression:weapon"
],
"prompt": "PF2E.SpecificRule.Prompt.Weapon"
},
{
"adjustName": false,
"choices": [
{
"label": "PF2E.WeaponPropertyRune.corrosive.Name",
"value": "corrosive"
},
{
"label": "PF2E.WeaponPropertyRune.flaming.Name",
"value": "flaming"
},
{
"label": "PF2E.WeaponPropertyRune.frost.Name",
"value": "frost"
},
{
"label": "PF2E.WeaponPropertyRune.ghostTouch.Name",
"value": "ghost-touch"
},
{
"label": "PF2E.WeaponPropertyRune.greaterCorrosive.Name",
"predicate": [
{
"gte": [
"parent:level",
8
]
}
],
"value": "greater-corrosive"
},
{
"label": "PF2E.WeaponPropertyRune.greaterFlaming.Name",
"predicate": [
{
"gte": [
"parent:level",
8
]
}
],
"value": "greater-flaming"
},
{
"label": "PF2E.WeaponPropertyRune.greaterFrost.Name",
"predicate": [
{
"gte": [
"parent:level",
8
]
}
],
"value": "greater-frost"
},
{
"label": "PF2E.WeaponPropertyRune.greaterShock.Name",
"predicate": [
{
"gte": [
"parent:level",
8
]
}
],
"value": "greater-shock"
},
{
"label": "PF2E.WeaponPropertyRune.greaterThundering.Name",
"predicate": [
{
"gte": [
"parent:level",
8
]
}
],
"value": "greater-thundering"
},
{
"label": "PF2E.WeaponPropertyRune.keen.Name",
"predicate": [
{
"gte": [
"parent:level",
8
]
}
],
"value": "keen"
},
{
"label": "PF2E.WeaponPropertyRune.returning.Name",
"value": "returning"
},
{
"label": "PF2E.WeaponPropertyRune.shock.Name",
"value": "shock"
},
{
"label": "PF2E.WeaponPropertyRune.thundering.Name",
"value": "thundering"
}
],
"flag": "rune",
"key": "ChoiceSet",
"prompt": "PF2E.SpecificRule.Prompt.Rune"
},
{
"definition": [
"item:id:{item|flags.pf2e.rulesSelections.weapon}"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"runic-impression:weapon"
],
"property": "property-runes",
"value": "{item|flags.pf2e.rulesSelections.rune}"
},
{
"definition": [
"item:category:unarmed"
],
"key": "AdjustStrike",
"mode": "add",
"predicate": [
"runic-impression:unarmed"
],
"property": "property-runes",
"value": "{item|flags.pf2e.rulesSelections.rune}"
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
2 changes: 1 addition & 1 deletion packs/spells/runic-impression.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"damage": {},
"defense": null,
"description": {
"value": "<p>Your unarmed attacks or weapon gain the benefits of a weapon rune you choose when you cast this spell: corrosive, flaming, frost, ghost touch, returning, shock, or thundering. If you cast runic impression on a weapon, this spell ends if you cease holding the weapon. If this spell would give a weapon more property runes than its normal maximum, one of the existing property runes (you choose) is suppressed until the spell ends. For unarmed attacks, if this spell would give you more property runes than you could have from handwraps of mighty blows, one of the existing property runes is similarly suppressed.</p>\n<hr />\n<p><strong>Heightened (8th)</strong> Add keen to the list of runes you can choose as well as the greater types of corrosive, flaming, frost, shock, and thundering.</p>"
"value": "<p>Your unarmed attacks or weapon gain the benefits of a weapon rune you choose when you cast this spell: corrosive, flaming, frost, ghost touch, returning, shock, or thundering. If you cast runic impression on a weapon, this spell ends if you cease holding the weapon. If this spell would give a weapon more property runes than its normal maximum, one of the existing property runes (you choose) is suppressed until the spell ends. For unarmed attacks, if this spell would give you more property runes than you could have from handwraps of mighty blows, one of the existing property runes is similarly suppressed.</p><hr /><p><strong>Heightened (8th)</strong> Add keen to the list of runes you can choose as well as the greater types of corrosive, flaming, frost, shock, and thundering.</p>\n<p>@UUID[Compendium.pf2e.spell-effects.Item.Spell Effect: Runic Impression]</p>"
},
"duration": {
"sustained": false,
Expand Down

0 comments on commit 290b90d

Please sign in to comment.