life

In a life event, the user gains/loses an amount of life. If a player ever has 0 or less life, they are considered to have lost the campaign, but may continue with 0 lives.

Specific Attributes

Example


      "life": {
          "gain1life": {
              "value": 1 Player will gain 1 life
          }
      },
    

Additional Information

As a layer of backwards compatability, the following syntax is legal, but should be considered deprecated.


    "life": {
        "add1":{}  1 life will be gained.
        "sub2":{}  2 life will be lost.
    },