aboutsummaryrefslogtreecommitdiff
path: root/features/antennae.json
blob: 394575227a07156bc265aff3c4620407f46cca9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "name": "antennae",
    "text": "The {NAME} corrodes a nonmagical ferrous metal object it can see within 5 feet of it. If the object isn't being worn or carried, the touch destroys a 1-foot cube of it. If the object is being worn or carried by a creature, the creature can make a DC {(8,PROF,STR,+,+)} Dexterity saving throw to avoid the rust monster's touch. If the object touched is either metal armor or a metal shield being worn or carried, its takes a permanent and cumulative −1 penalty to the AC it offers. Armor reduced to an AC of 10 or a shield that drops to a +0 bonus is destroyed. If the object touched is a held metal weapon, it rusts as described in the Rust Metal trait.",
    "subfeatures": [
        {
            "trigger": [ "action" ],
            "conditions": [
                [ "N is within radius X of N", "object", "5'", "self" ],
                [ "N is made of metal", "object" ],
                [ "N is worn or carried by N", "object", "creature" ],
                [ "N fails dc X ABILITY save by at least X", "creature", "(8,PROF,STR,+,+)", "dexterity", 0 ]
            ],
            "effects": [{
                "target": "object",
                "effect": [ "Set N = N", "object.RUST", "(object.RUST,1,+)" ]
            }, {
                "target": "object",
                "effect conditions": [[ "(object.OBJECT_TYPE,1,==,object.RUST,5,>=,&,object.OBJECT_TYPE,2,==,object.RUST,object.OBJECT_AC,-,10,<=,&,object.OBJECT_TYPE,3,==,object.RUST,object.OBJECT_AC,-,0,<=,&,|,|)" ]],
                "effect": [ "Destroyed" ]
            }]
        }
    ]
}