From 44883db3fe9c3b26ec400403328dcb346b709828 Mon Sep 17 00:00:00 2001 From: Simon Ward Date: Fri, 31 Jan 2025 16:33:52 -0800 Subject: [PATCH] Add automation for Frost Fair Yanyuedao --- .../effect-dragon-chill.json | 46 +++++++++++++++++++ packs/equipment/frost-fair-yanyuedao.json | 28 ++++++++++- static/lang/re-en.json | 1 + 3 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 packs/equipment-effects/effect-dragon-chill.json diff --git a/packs/equipment-effects/effect-dragon-chill.json b/packs/equipment-effects/effect-dragon-chill.json new file mode 100644 index 00000000000..26b5883fd90 --- /dev/null +++ b/packs/equipment-effects/effect-dragon-chill.json @@ -0,0 +1,46 @@ +{ + "_id": "TxGrhZe4NUSOpCxt", + "img": "icons/weapons/polearms/glaive-simple.webp", + "name": "Effect: Dragon Chill", + "system": { + "description": { + "value": "

Granted by @UUID[Compendium.pf2e.equipment-srd.Item.Frost Fair Yanyuedao]

\n

The Frost Fair Yanyuedao gains the effects of a greater frost rune.

" + }, + "duration": { + "expiry": "turn-end", + "sustained": false, + "unit": "rounds", + "value": 0 + }, + "level": { + "value": 14 + }, + "publication": { + "license": "ORC", + "remaster": true, + "title": "Pathfinder Lost Omens: Tian Xia Character Guide" + }, + "rules": [ + { + "definition": [ + "item:slug:frost-fair-yanyuedao" + ], + "key": "AdjustStrike", + "mode": "add", + "property": "property-runes", + "value": "greater-frost" + } + ], + "start": { + "initiative": null, + "value": 0 + }, + "tokenIcon": { + "show": true + }, + "traits": { + "value": [] + } + }, + "type": "effect" +} diff --git a/packs/equipment/frost-fair-yanyuedao.json b/packs/equipment/frost-fair-yanyuedao.json index 0f2e39f0eb0..3c82003327b 100644 --- a/packs/equipment/frost-fair-yanyuedao.json +++ b/packs/equipment/frost-fair-yanyuedao.json @@ -21,7 +21,7 @@ "die": "d8" }, "description": { - "value": "

The Frost Fair Yanyuedao is a +2 greater striking yanyuedao (use statistics for glaive) once wielded by a legendary military general from Goka. This weapon was constructed from pieces harvested from a dragon's body. When in an area of severe cold or colder, the Frost Fair Yanyuedao becomes a +3 major striking yanyuedao with a glowing blue cutting edge and the following ability.

\n

Activate—Dragon Chill 1 (manipulate)


Effect Until the end of your turn, the Frost Fair Yanyuedao gains the effects of a greater frost rune. While under this effect, if you critically succeed at a Strike using this weapon against a creature who has resistance or immunity to cold, that creature must attempt a @Check[fortitude|dc:31] save or be @UUID[Compendium.pf2e.conditionitems.Item.Slowed]{Slowed 1} for 1 minute.

" + "value": "

The Frost Fair Yanyuedao is a +2 greater striking yanyuedao (use statistics for glaive) once wielded by a legendary military general from Goka. This weapon was constructed from pieces harvested from a dragon's body. When in an area of severe cold or colder, the Frost Fair Yanyuedao becomes a +3 major striking yanyuedao with a glowing blue cutting edge and the following ability.


Activate—Dragon Chill 1 (manipulate)

\n

Effect Until the end of your turn, the Frost Fair Yanyuedao gains the effects of a @UUID[Compendium.pf2e.equipment-srd.Item.Frost (Greater)]{Greater Frost} rune. While under this effect, if you critically succeed at a Strike using this weapon against a creature who has resistance or immunity to cold, that creature must attempt a @Check[fortitude|dc:31] save or be @UUID[Compendium.pf2e.conditionitems.Item.Slowed]{Slowed 1} for 1 minute.

\n

@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Dragon Chill]

" }, "group": "polearm", "hardness": 0, @@ -49,7 +49,31 @@ "reload": { "value": "" }, - "rules": [], + "rules": [ + { + "domain": "all", + "key": "RollOption", + "label": "PF2E.SkillVariant.SevereCold", + "option": "environment:severe-cold", + "toggleable": true + }, + { + "key": "WeaponPotency", + "predicate": [ + "environment:severe-cold" + ], + "selector": "{item|id}-attack", + "value": 3 + }, + { + "key": "Striking", + "predicate": [ + "environment:severe-cold" + ], + "selector": "{item|id}-damage", + "value": 3 + } + ], "runes": { "potency": 2, "property": [], diff --git a/static/lang/re-en.json b/static/lang/re-en.json index e739667cf0b..2309f26d4c0 100644 --- a/static/lang/re-en.json +++ b/static/lang/re-en.json @@ -1864,6 +1864,7 @@ "RustyTerrain": "In Areas of Rusty Objects", "Sand": "In Sand", "SenseMotive": "to Sense Motive", + "SevereCold": "In Severe Cold", "Sewers": "In Sewers", "SewersScrapyards": "In Sewers and Scrapyards", "Shoes": "For Shoes",