From 5937d893da5656be3f486c863ae54e08bbe66579 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 9 Aug 2022 16:57:53 -0400 Subject: Added generic items, worked on features --- features/aberrant_ground.json | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'features/aberrant_ground.json') 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" }] } ] -- cgit v1.2.3