aboutsummaryrefslogtreecommitdiff
path: root/features/antimagic_susceptibility.json
blob: 7e8b0c8407dde14f6acbce005b5f923d3a749efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
    "name": "antimagic susceptibility",
    "text": "The {NAME} is incapacitated while in the area of an antimagic field. If targeted by dispel magic, the sword must succeed on a Constitution saving throw against the caster's spell save DC or fall unconscious for 1 minute.",
    "subfeatures": [
        {
            "trigger": [ "passive" ],
            "conditions": [],
            "effects": [{
                "target": "self",
                "effect": [ "Set property PROPERTY to X", "Is incapacitated by antimagic field", "True" ]
            }]
        },
        {
            "trigger": [ "N targets N by a spell", "creature", "self" ],
            "conditions": [
                [ "N == N", "V0", "dispel magic" ],
                [ "N fails dc X ABILITY save by at least X", "creature.SPELLDC", "constitution", "0" ]
            ],
            "effects": [{
                "target": "self",
                "effect": [ "Acquire condition CONDITION", "unconscious" ],
                "duration": "1 min"
            }]
        }
    ]
}