From 947d83c59ea86615e3a81a2ec122d843b5eceee9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 18 Feb 2022 16:47:53 -0500 Subject: More features work --- features/assassinate.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 features/assassinate.json (limited to 'features/assassinate.json') diff --git a/features/assassinate.json b/features/assassinate.json new file mode 100644 index 0000000..5881315 --- /dev/null +++ b/features/assassinate.json @@ -0,0 +1,25 @@ +{ + "name": "assassinate", + "text": "During its first turn, the {NAME} has advantage on attack rolls against any creature that hasn't taken a turn. Any hit the {NAME} scores against a surprised creature is a critical hit.", + "subfeatures": [ + { + "trigger": [ "N attacks N", "self", "creature" ], + "conditions": [ + [ "not N has completed >= X turns", "self", "1" ], + [ "not N has completed >= X turns", "creature", "1" ] + ], + "effects": [{ + "target": "self", + "effect": [ "Grant advantage" ] + }] + }, + { + "trigger": [ "N hits N", "self", "creature" ], + "conditions": [[ "N is surprised", "creature" ]], + "effects": [{ + "target": "self", + "effect": [ "Grant critical hit" ] + }] + } + ] +} -- cgit v1.2.3