diff options
author | Your Name <you@example.com> | 2022-08-09 16:57:53 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2022-08-09 16:57:53 -0400 |
commit | 5937d893da5656be3f486c863ae54e08bbe66579 (patch) | |
tree | 15aedaf0753fcf73fe85e90e88a7d0af33036eca /features/aberrant_ground.json | |
parent | 947d83c59ea86615e3a81a2ec122d843b5eceee9 (diff) | |
download | dmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.gz dmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.bz2 dmtool-5937d893da5656be3f486c863ae54e08bbe66579.zip |
Added generic items, worked on features
Diffstat (limited to 'features/aberrant_ground.json')
-rw-r--r-- | features/aberrant_ground.json | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/features/aberrant_ground.json b/features/aberrant_ground.json index 4e72225..dc5f1f9 100644 --- a/features/aberrant_ground.json +++ b/features/aberrant_ground.json @@ -1,26 +1,23 @@ { "name": "aberrant ground", - "text": "The ground in a 10-foot radius around the {NAME} is doughlike difficult terrain. Each creature that starts its turn in that area must succeed on a DC {(8,PROF,STR,+,+)} Strength saving throw or have its speed reduced to 0 until the start of its next turn.", + "text": "The ground in a 10-foot radius around the {NAME} is doughlike difficult terrain. Each creature that starts its turn in that area must succeed on a DC {8,PROF,STR,+,+} Strength saving throw or have its speed reduced to 0 until the start of its next turn.", "subfeatures": [ { - "trigger": [ "N end of turn", "self" ], - "conditions": [], + "trigger": "self,turnend", "effects": [{ - "target": "self", - "effect": [ "Terrain in X ft radius is difficult", 10 ], - "duration": "Start of next turn" + "target": "terrain", + "condition": "terrain,self,distance,10,<=", + "effect": "1,terrain.TERRAIN_IS_DIFFICULT,store", + "duration": "self,turnstart" }] }, { - "trigger": [ "N start of turn", "creature" ], - "conditions": [ - [ "N is within radius X of N", "creature", 10, "self" ], - [ "N succeeds dc X ABILITY save by at least X", "creature", "(8,PROF,STR,+,+)", "STR", 0 ] - ], + "trigger": "creature,turnstart", + "condition": "creature,self,distance,10,<=,creature,strength,roll,8,PROF,STR,+,+,>=,&", "effects": [{ "target": "creature", - "effect": [ "Set movement speed to X", 0 ], - "duration": "Start of next turn" + "effect": "0,creature.MOVESPEED,store", + "duration": "creature,turnstart" }] } ] |