Element

Damage Condition Type

Checks if the provided DamageSource has the specified Element.

Type IDs: seven-elements:element, origins-genshin:element

Fields

Field Type Default Description
elements Element or Array of Element The element to check for.

Examples

"damage_condition": {
    "type": "seven-elements:element",
    "element": "HYDRO"
}

This example checks if the damage is of the Hydro element.

"damage_condition": {
    "type": "seven-elements:element",
    "element": [
        "PYRO",
        "CRYO"
    ]
}

This example checks if the damage is of the Pyro or Cryo element.