Skip to content

Commit 88cc55d

Browse files
authored
Add automation for Martyr (foundryvtt#14513)
1 parent b7dff6c commit 88cc55d

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

packs/feats/martyr.json

+30-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,36 @@
2828
"remaster": true,
2929
"title": "Pathfinder Player Core"
3030
},
31-
"rules": [],
31+
"rules": [
32+
{
33+
"domain": "all",
34+
"key": "RollOption",
35+
"option": "martyr",
36+
"placement": "spellcasting",
37+
"toggleable": true
38+
},
39+
{
40+
"key": "Note",
41+
"predicate": [
42+
"martyr",
43+
{
44+
"or": [
45+
"item:slug:harm",
46+
"item:slug:heal"
47+
]
48+
},
49+
{
50+
"lt": [
51+
"item:cast:actions",
52+
3
53+
]
54+
}
55+
],
56+
"selector": "spell-healing",
57+
"text": "PF2E.SpecificRule.Cleric.Martyr.Note",
58+
"title": "{item|name}"
59+
}
60+
],
3261
"traits": {
3362
"rarity": "common",
3463
"value": [

static/lang/re-en.json

+3
Original file line numberDiff line numberDiff line change
@@ -2051,6 +2051,9 @@
20512051
"AllowedDrops": "1st-level cleric class feature",
20522052
"Prompt": "Select a doctrine."
20532053
},
2054+
"Martyr": {
2055+
"Note": "You lose @Damage[(@item.rank)d8] Hit Points, which can't be reduced or mitigated in any way, and your ally regains an equal number of Hit Points."
2056+
},
20542057
"RaiseSymbol": {
20552058
"RollOptionLabel": "Wielding shield as a religious symbol"
20562059
},

0 commit comments

Comments
 (0)