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/charge.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/charge.json')
-rw-r--r-- | features/charge.json | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/features/charge.json b/features/charge.json index 646de65..2941fa3 100644 --- a/features/charge.json +++ b/features/charge.json @@ -1,14 +1,24 @@ { - "name": "charge (feature)", - "text": "If the unicorn moves at least 20 feet straight toward a target and then hits it with a horn attack on the same turn, the target takes an extra 9 (2d8) piercing damage. If the target is a creature, it must succeed on a DC 15 Strength saving throw or be knocked prone.", + "name": "charge", + "text": "If the {NAME} moves at least {V0} feet straight toward a target and then hits it with a {V1} attack on the same turn, the target takes an extra {V2}d{V3} {V4} damage. If the target is a creature, it must succeed on a DC {(8,PROF,STR,+,+)} Strength saving throw or be knocked prone.", "subfeatures": [ { - "trigger": [], - "conditions": [], + "trigger": [ "N hits N", "self", "any" ], + "conditions": [ + ["N moved X distance straight toward N", "self", "(V0)", "any" ], + [ "N made attack ATTACK", "(V1)" ] + ], "effects": [{ - "target": "", - "effect": [], - "duration": "" + "target": "any", + "effect": [ "Inflict XdX TYPE damage", "(V2)", "(V3)", "(V4)" ] + }, + { + "target": "any", + "effect conditions": [ + [ "N == N", "any.OBJECT_TYPE", -1 ], + [ "N fails dc X ABILITY save by at least X", "any", "(8,PROF,STR,+,+)", "strength", 0 ] + ], + "effect": [ "set N = N", "any.PRONE", 1 ] }] } ] |