aboutsummaryrefslogtreecommitdiff
path: root/features/assassinate.json
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-02-18 16:47:53 -0500
committerYour Name <you@example.com>2022-02-18 16:47:53 -0500
commit947d83c59ea86615e3a81a2ec122d843b5eceee9 (patch)
tree158f365d2d50b9e4e2b3fbe6a5d8c4cceb6d99cd /features/assassinate.json
parentd0e356d09e30a11c1e072415a5088f829d5c0a04 (diff)
downloaddmtool-947d83c59ea86615e3a81a2ec122d843b5eceee9.tar.gz
dmtool-947d83c59ea86615e3a81a2ec122d843b5eceee9.tar.bz2
dmtool-947d83c59ea86615e3a81a2ec122d843b5eceee9.zip
More features work
Diffstat (limited to 'features/assassinate.json')
-rw-r--r--features/assassinate.json25
1 files changed, 25 insertions, 0 deletions
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" ]
+ }]
+ }
+ ]
+}