Skip to content

Commit

Permalink
Add automation for Frost Fair Yanyuedao
Browse files Browse the repository at this point in the history
  • Loading branch information
simonward committed Feb 1, 2025
1 parent ed97d9d commit 44883db
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 2 deletions.
46 changes: 46 additions & 0 deletions packs/equipment-effects/effect-dragon-chill.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"_id": "TxGrhZe4NUSOpCxt",
"img": "icons/weapons/polearms/glaive-simple.webp",
"name": "Effect: Dragon Chill",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.equipment-srd.Item.Frost Fair Yanyuedao]</p>\n<p>The <em>Frost Fair Yanyuedao</em> gains the effects of a <em>greater frost</em> rune.</p>"
},
"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"
}
28 changes: 26 additions & 2 deletions packs/equipment/frost-fair-yanyuedao.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"die": "d8"
},
"description": {
"value": "<p>The <em>Frost Fair Yanyuedao</em> is a <em>+2 greater striking yanyuedao</em> (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 <em>Frost Fair Yanyuedao</em> becomes a <em>+3 major striking yanyuedao</em> with a glowing blue cutting edge and the following ability.</p>\n<p><strong>Activate—Dragon Chill</strong> <span class=\"action-glyph\">1</span> (manipulate)</p><hr /><p><strong>Effect</strong> Until the end of your turn, the <em>Frost Fair Yanyuedao</em> gains the effects of a <em>greater frost</em> 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.</p>"
"value": "<p>The <em>Frost Fair Yanyuedao</em> is a <em>+2 greater striking yanyuedao</em> (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 <em>Frost Fair Yanyuedao</em> becomes a <em>+3 major striking yanyuedao</em> with a glowing blue cutting edge and the following ability.</p><hr /><p><strong>Activate—Dragon Chill</strong> <span class=\"action-glyph\">1</span> (manipulate)</p>\n<p><strong>Effect</strong> Until the end of your turn, the <em>Frost Fair Yanyuedao</em> gains the effects of a <em>@UUID[Compendium.pf2e.equipment-srd.Item.Frost (Greater)]{Greater Frost}</em> 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.</p>\n<p>@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Dragon Chill]</p>"
},
"group": "polearm",
"hardness": 0,
Expand Down Expand Up @@ -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": [],
Expand Down
1 change: 1 addition & 0 deletions static/lang/re-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 44883db

Please sign in to comment.