Skip to content

Commit

Permalink
Add effect for Sparkler (#11075)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonward authored Nov 3, 2023
1 parent b6b3e14 commit 139a7c0
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 2 deletions.
74 changes: 74 additions & 0 deletions packs/equipment-effects/effect-sparkler.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"_id": "uYWi2vxFQVBJgJR6",
"img": "icons/magic/fire/projectile-embers-orange.webp",
"name": "Effect: Sparkler",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.equipment-srd.Item.Sparkler]</p>\n<p>A sparkler provides bright light in a 10-foot radius (and dim light for the next 10 feet). While the sparkler burns, you can use it as an improvised weapon, dealing 1 fire damage on a hit. On a critical hit, you cause the target to become dazzled for 1 round.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "minutes",
"value": 1
},
"level": {
"value": 1
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Treasure Vault"
},
"rules": [
{
"key": "TokenLight",
"value": {
"animation": {
"intensity": 4,
"type": "flame"
},
"bright": 20,
"color": "#975335",
"dim": 10,
"shadows": 0.2
}
},
{
"category": "simple",
"damage": {
"base": {
"damageType": "fire",
"dice": 0,
"modifier": 1
}
},
"key": "Strike",
"label": "PF2E.SpecificRule.Equipment.Sparkler.StrikeLabel",
"otherTags": [
"improvised"
]
},
{
"key": "Note",
"outcome": [
"criticalSuccess"
],
"selector": "{item|_id}-attack",
"text": "PF2E.SpecificRule.Equipment.Sparkler.CriticalHitNote",
"title": "{item|name}"
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
4 changes: 2 additions & 2 deletions packs/equipment/sparkler.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_id": "hd8D1Dm6aVhMYpEL",
"img": "systems/pf2e/icons/default-icons/consumable.svg",
"img": "icons/magic/fire/projectile-embers-orange.webp",
"name": "Sparkler",
"system": {
"autoDestroy": {
Expand All @@ -19,7 +19,7 @@
},
"containerId": null,
"description": {
"value": "<p><strong>Access</strong> Sparklers are common in Tian Xia and Vudra and can be Crafted by those who can specifically Craft fireworks.</p>\n<p><strong>Activate</strong> <span class=\"action-glyph\">1</span> Interact</p>\n<p>A sparkler gives off colorful sparks, burning for 1 minute. It provides bright light in a 10-foot radius (and dim light for the next 10 feet). While the sparkler burns, you can use it as an improvised weapon, dealing @Damage[1[fire]] on a hit. On a critical hit, you cause the target to become @UUID[Compendium.pf2e.conditionitems.Item.Dazzled] for 1 round.</p>\n<p>You can touch a sparkler to a flammable object as part of the same Interact action you use to Activate it or as an Interact action while the sparkler is already activated. If you do so, the sparkler can ignite flammable objects the way a tindertwig does.</p>"
"value": "<p><strong>Access</strong> Sparklers are common in Tian Xia and Vudra and can be Crafted by those who can specifically Craft fireworks.</p>\n<p><strong>Activate</strong> <span class=\"action-glyph\">1</span> Interact</p>\n<p>A sparkler gives off colorful sparks, burning for 1 minute. It provides bright light in a 10-foot radius (and dim light for the next 10 feet). While the sparkler burns, you can use it as an improvised weapon, dealing @Damage[1[fire]] on a hit. On a critical hit, you cause the target to become @UUID[Compendium.pf2e.conditionitems.Item.Dazzled] for 1 round.</p>\n<p>You can touch a sparkler to a flammable object as part of the same Interact action you use to Activate it or as an Interact action while the sparkler is already activated. If you do so, the sparkler can ignite flammable objects the way a tindertwig does.</p>\n<p>@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Sparkler]</p>"
},
"equippedBulk": {
"value": ""
Expand Down
4 changes: 4 additions & 0 deletions static/lang/re-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1935,6 +1935,10 @@
"ScapularOfShields": {
"CriticalImmunityLabel": "Activate Scapular of Shields to gain critical immunity.",
"ResistAllLabel": "Activate Scapular of Shields to gain resistance to all damage."
},
"Sparkler": {
"CriticalHitNote": "On a critical hit, you cause the target to become @UUID[Compendium.pf2e.conditionitems.Item.TkIyaNPgTZFBCCuh]{Dazzled} for 1 round.",
"StrikeLabel": "Sparkler"
}
},
"ExemplaryFinisher": {
Expand Down

0 comments on commit 139a7c0

Please sign in to comment.