aboutsummaryrefslogtreecommitdiff
path: root/features/wip/TYPE_absorption.json
blob: 58c1018bba7d3f7150f94902ed8ae5fc15df5668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "name": "{V0} absorption",
    "text": "Whenever the {NAME} is subjected to {V0} damage, it takes no damage and instead regains a number of hit points equal to the {V0} damage dealt.",
    "subfeatures": [
        {
            "trigger": [ "N takes damage", "self" ],
            "conditions": [[ "Damage received was type TYPE", "V0" ]],
            "effects": [{
                "target": "self",
                "effect": [ "Reduce incoming damage by X", "V1" ]
            },
            {
                "target": "self",
                "effect": [ "Regain X hp", "V1" ]
            }]
        }
    ]
}