aboutsummaryrefslogtreecommitdiff
path: root/features/adhesive.json
blob: 60a772ef5efbd076922c9244ca19202fdee5d998 (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": "adhesive",
    "text": "(Object form only) The {NAME} adheres to anything that touches it. A Huge or smaller creature adhered to the {NAME} is also grappled by it (escape DC {(8,STR,PROF,+,+)}). Ability checks made to escape this grapple have disadvantage.",
    "subfeatures": [
        {
            "trigger": [ "N touches N", "creature", "self" ],
            "conditions": [
                [ "(FORM_STATE,0,>)" ],
                [ "(creature.SIZE,15,<=)" ]
            ],
            "effects": [{
                "target": "creature",
                "effect": [ "set N = N", "creature.GRAPPLED", 1 ]
            }]
        },
        {
            "trigger": [ "N makes check against N", "creature", "self" ],
            "conditions": [[ "N == N", "V0", "escape grapple" ]],
            "effects": [{
                "target": "creature",
                "effect": [ "Impose disadvantage" ]
            }]
        }
    ]

}