1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
"name": "berserk",
"text": "Whenever the {NAME} starts its turn with {V0} hit points or fewer, roll a d6. On a 6, the {NAME} goes berserk. On each of its turns while berserk, the {NAME} attacks the nearest creature it can see. If no creature is near enough to move to and attack, the {NAME} attacks an object, with preference for an object smaller than itself. Once the {NAME} goes berserk, it continues to do so until it is destroyed or regains all its hit points.",
"subfeatures": [
{
"trigger": [ "N start of turn", "self" ],
"conditions": [ "(HP,V0,<=)" ],
"effects": [{
"target": "self",
"effect": [ "Set N = N", "BERSERK", 1 ]
}]
},
{
"trigger": [ "N start of turn", "self" ],
"conditions": [ "(HP,MAXHP,==)" ],
"effects": [{
"target": "self",
"effect": [ "Set N = N", "BERSERK", 0 ]
}]
}
]
}
|