Damage Resistance - Xemorr/superheroes GitHub Wiki

Damage Resistance Skill

This skill allows you to modify the damage received from certain sources for your hero. The skill takes in two parameters.

  1. The damage multiplier, if this is set to 0, they take no damage, 0.5, they take half damage, 2 and they take double damage.
  2. A list of damage causes, these are the sources that have the damage multiplier applied to them

Example Config

noFall:
  skill: DAMAGERESISTANCE
  damageMultiplier: 0
  damageCause:
    - "FALL"