Skip to content

Commit

Permalink
Add alternate amp and effect for Mind's Light Circlet (foundryvtt#17709)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrogrullada authored Dec 14, 2024
1 parent c853ba0 commit c7ca46f
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 2 deletions.
48 changes: 48 additions & 0 deletions packs/equipment-effects/effect-minds-light-circlet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"_id": "abFGWIZZf5nyGYMk",
"img": "icons/equipment/waist/belt-thick-gemmed-gold-blue.webp",
"name": "Effect: Mind's Light Circlet",
"system": {
"description": {
"value": "<p>Granted by @UUID[Compendium.pf2e.equipment-srd.Item.Mind's Light Circlet]</p>\n<p>You shed bright light in a 20-foot radius and dim light in a 40-foot radius.</p>"
},
"duration": {
"expiry": "turn-start",
"sustained": false,
"unit": "rounds",
"value": 1
},
"level": {
"value": 11
},
"publication": {
"license": "OGL",
"remaster": false,
"title": "Pathfinder Treasure Vault"
},
"rules": [
{
"key": "TokenLight",
"value": {
"alpha": 0.1,
"animation": {
"type": "rainbowswirl"
},
"bright": 20,
"dim": 40
}
}
],
"start": {
"initiative": null,
"value": 0
},
"tokenIcon": {
"show": true
},
"traits": {
"value": []
}
},
"type": "effect"
}
65 changes: 63 additions & 2 deletions packs/equipment/minds-light-circlet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_id": "FW4vzcHuehTXnCLX",
"img": "systems/pf2e/icons/default-icons/equipment.svg",
"img": "icons/equipment/waist/belt-thick-gemmed-gold-blue.webp",
"name": "Mind's Light Circlet",
"system": {
"baseItem": null,
Expand All @@ -9,7 +9,7 @@
},
"containerId": null,
"description": {
"value": "<p>Gemstones of many colors adorn the silver of a <em>mind's light circlet</em>. When you're charged with mental power, the jewels scintillate with light, with different gems resonating based on your emotions. If you have at least 1 Focus Point, the gems cast dim light in a 10-foot radius. When you amp a spell, the light increases to bright light in a 20-foot radius (and dim light to the next 20 feet) until the start of your next turn.</p>\n<p>You gain a +2 item bonus to Occultism checks. You also gain the following amp, which you can apply to any of your psi cantrips that have a target or area, much like an amp gained from a feat.</p>\n<p><strong>Amp</strong> You transfer some of the magical luminescence from the mind's light circlet to one of the creatures. Choose a creature targeted by the spell or in its area. Until the start of your next turn, that creature sheds bright light in a 20-foot radius (and dim light to the next 20 feet) and can't be @UUID[Compendium.pf2e.conditionitems.Item.Concealed]. If the creature is @UUID[Compendium.pf2e.conditionitems.Item.Invisible], it's concealed while alight, rather than being undetected.</p>\n<hr />\n<p><strong>Activate</strong> <span class=\"action-glyph\">F</span> envision</p>\n<p><strong>Frequency</strong> once per day</p>\n<hr />\n<p><strong>Effect</strong> You gain 1 Focus Point, which you can use only to use a psychic amp. If not used by the end of your turn, this Focus Point is lost.</p>\n<hr />\n<p><strong>Craft Requirements</strong> You are a psychic.</p>"
"value": "<p>Gemstones of many colors adorn the silver of a <em>mind's light circlet</em>. When you're charged with mental power, the jewels scintillate with light, with different gems resonating based on your emotions. If you have at least 1 Focus Point, the gems cast dim light in a 10-foot radius. When you amp a spell, the light increases to bright light in a 20-foot radius (and dim light to the next 20 feet) until the start of your next turn.</p>\n<p>You gain a +2 item bonus to Occultism checks. You also gain the following amp, which you can apply to any of your psi cantrips that have a target or area, much like an amp gained from a feat.</p>\n<p><strong>Amp</strong> You transfer some of the magical luminescence from the mind's light circlet to one of the creatures. Choose a creature targeted by the spell or in its area. Until the start of your next turn, that creature sheds bright light in a 20-foot radius (and dim light to the next 20 feet) and can't be @UUID[Compendium.pf2e.conditionitems.Item.Concealed]. If the creature is @UUID[Compendium.pf2e.conditionitems.Item.Invisible], it's concealed while alight, rather than being undetected.</p>\n<p>@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Mind's Light Circlet]</p><hr /><p><strong>Activate</strong> <span class=\"action-glyph\">F</span> envision</p>\n<p><strong>Frequency</strong> once per day</p><hr /><p><strong>Effect</strong> You gain 1 Focus Point, which you can use only to use a psychic amp. If not used by the end of your turn, this Focus Point is lost.</p><hr /><p><strong>Craft Requirements</strong> You are a psychic.</p>"
},
"hardness": 0,
"hp": {
Expand Down Expand Up @@ -40,6 +40,67 @@
"selector": "occultism",
"type": "item",
"value": 2
},
{
"key": "RollOption",
"label": "PF2E.SpecificRule.Equipment.MindsLightCirclet.LightToggle",
"option": "minds-light-circlet-light",
"placement": "spellcasting",
"toggleable": true
},
{
"key": "TokenLight",
"predicate": [
"minds-light-circlet-light"
],
"value": {
"alpha": 0.1,
"animation": {
"type": "rainbowswirl"
},
"bright": 0,
"dim": 10
}
},
{
"disabledIf": [
{
"not": "amp-spell"
}
],
"disabledValue": false,
"key": "RollOption",
"label": "PF2E.SpecificRule.Psychic.Amp.AlternateAmp",
"mergeable": true,
"option": "alternate-amp",
"placement": "spellcasting",
"priority": 51,
"suboptions": [
{
"label": "{item|name}",
"value": "minds-light-circlet"
}
],
"toggleable": true
},
{
"itemType": "spell",
"key": "ItemAlteration",
"mode": "add",
"predicate": [
"item:tag:psi-cantrip",
"alternate-amp:minds-light-circlet"
],
"property": "description",
"value": [
{
"title": "PF2E.TraitAmp",
"text": "PF2E.SpecificRule.Psychic.Amp.MindsLightCirclet"
},
{
"text": "@UUID[Compendium.pf2e.equipment-effects.Item.Effect: Mind's Light Circlet]"
}
]
}
],
"size": "med",
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 @@ -3344,6 +3344,9 @@
"MaskOfTheMantis": {
"VernaisIreLabel": "Vernai's Ire"
},
"MindsLightCirclet": {
"LightToggle": "Mind's Light Circlet — You have at least 1 Focus Point"
},
"NosoiCharm": {
"PerformanceLabel": "Nosoi Charm (Play an instrument, orate or sing)",
"RequestLabel": "Nosoi Charm (Request)"
Expand Down Expand Up @@ -4796,6 +4799,7 @@
"Base": "Your telepathic message allows you to coordinate your actions while you pass on information. The target of the message can immediately spend its reaction to Step or Stride.",
"Heightened": "The target of the message can choose to @UUID[Compendium.pf2e.actionspf2e.Item.7blmbDrQFNfdT731]{Shove}, Strike, or @UUID[Compendium.pf2e.actionspf2e.Item.ge56Lu1xXVFYUnLP]{Trip} with its reaction instead."
},
"MindsLightCirclet": "You transfer some of the magical luminescence from the mind's light circlet to one of the creatures. Choose a creature targeted by the spell or in its area. Until the start of your next turn, that creature sheds bright light in a 20-foot radius (and dim light to the next 20 feet) and can't be @UUID[Compendium.pf2e.conditionitems.Item.DmAIPqOBomZ7H95W]{Concealed}. If the creature is @UUID[Compendium.pf2e.conditionitems.Item.zJxUflt9np0q4yML]{Invisible}, it's concealed while alight, rather than being @UUID[Compendium.pf2e.conditionitems.Item.VRSef5y1LmL2Hkjf]{Undetected}.",
"OmnidirectionalScan": {
"Base": "Your scans are so minute that you can project your foe's likely strengths and weaknesses. You learn which of the target enemy's saving throws is highest and which is lowest, and you and all allies within 30 feet gain a +1 circumstance bonus to attacks and damage against the creature.",
"BaseTwo": "If you take the Aid reaction you prepared for and succeed at your roll, these bonuses increase to +2 on the attack you're Aiding. On a critical success, they increase to +3, or to +4 if you have legendary proficiency in spell attack rolls."
Expand Down

0 comments on commit c7ca46f

Please sign in to comment.