aboutsummaryrefslogtreecommitdiff
path: root/features/berserk.json
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-08-09 16:57:53 -0400
committerYour Name <you@example.com>2022-08-09 16:57:53 -0400
commit5937d893da5656be3f486c863ae54e08bbe66579 (patch)
tree15aedaf0753fcf73fe85e90e88a7d0af33036eca /features/berserk.json
parent947d83c59ea86615e3a81a2ec122d843b5eceee9 (diff)
downloaddmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.gz
dmtool-5937d893da5656be3f486c863ae54e08bbe66579.tar.bz2
dmtool-5937d893da5656be3f486c863ae54e08bbe66579.zip
Added generic items, worked on features
Diffstat (limited to 'features/berserk.json')
-rw-r--r--features/berserk.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/berserk.json b/features/berserk.json
index c0f0c8b..0042a7b 100644
--- a/features/berserk.json
+++ b/features/berserk.json
@@ -4,18 +4,18 @@
"subfeatures": [
{
"trigger": [ "N start of turn", "self" ],
- "conditions": [ "N has COND X hp", "self", "<=", "V0" ],
+ "conditions": [ "(HP,V0,<=)" ],
"effects": [{
"target": "self",
- "effect": [ "Set property PROPERTY to X", "Is berserk", "True" ]
+ "effect": [ "Set N = N", "BERSERK", 1 ]
}]
},
{
"trigger": [ "N start of turn", "self" ],
- "conditions": [ "N has COND X hp", "self", "==", "MAXHP" ],
+ "conditions": [ "(HP,MAXHP,==)" ],
"effects": [{
"target": "self",
- "effect": [ "Set property PROPERTY to X", "Is berserk", "False" ]
+ "effect": [ "Set N = N", "BERSERK", 0 ]
}]
}
]