diff options
Diffstat (limited to 'features/antennae.json')
-rw-r--r-- | features/antennae.json | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/features/antennae.json b/features/antennae.json index 12739a4..3945752 100644 --- a/features/antennae.json +++ b/features/antennae.json @@ -1,14 +1,22 @@ { - "name": "antennae (action)", - "text": "The rust monster 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 11 Dexterity saving throw to avoid the rust monster's touch.", + "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": [], - "conditions": [], + "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": "", - "effect": [], - "duration": "" + "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" ] }] } ] |