ImmuneResist

5eTools vulnerabilities, resistances, immunities, and condition immunities

This data object provides a default mechanism for creating a marked up string based on the attributes that are present. To use it, reference it directly.

Attributes

conditionImmune, immune, present, resist, vulnerable

conditionImmune

Comma-separated string of creature condition immunities (if present).

immune

Comma-separated string of creature damage immunities (if present).

present

True if immunities or resistances are present (otherwise false)

resist

Comma-separated string of creature damage resistances (if present).

vulnerable

Comma-separated string of creature damage vulnerabilities (if present).