aboutsummaryrefslogtreecommitdiff
path: root/features/antennae.json
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-08-09 16:57:53 -0400
committerYour Name <you@example.com>2022-08-09 16:57:53 -0400
commit5937d893da5656be3f486c863ae54e08bbe66579 (patch)
tree15aedaf0753fcf73fe85e90e88a7d0af33036eca /features/antennae.json
parent947d83c59ea86615e3a81a2ec122d843b5eceee9 (diff)
downloaddmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.gz
dmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.bz2
dmtool-5937d893da5656be3f486c863ae54e08bbe66579.zip
Added generic items, worked on features
Diffstat (limited to 'features/antennae.json')
-rw-r--r--features/antennae.json22
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" ]
}]
}
]