See the commented section in the defense-types example below:
defense-types:
minimum: 7
maximum: 7
lore-format:
- '%DEFENSE_SLASHING%'
- '%DEFENSE_PIERCING%'
- '%DEFENSE_BLUDGEONING%'
- '%DEFENSE_PHYSICAL%'
- §8--------------------
- '%DEFENSE_COLD%'
- '%DEFENSE_FIRE%'
- '%DEFENSE_POISON%'
- '%DEFENSE_LIGHTNING%'
- '%DEFENSE_RADIANT%'
- '%DEFENSE_NECROTIC%'
- '%DEFENSE_THUNDER%'
- '%DEFENSE_FORCE%'
- '%DEFENSE_PSYCHIC%'
list:
physical:
chance: 20.0
scale-by-level: 1.0
min: 1.0
max: 4.0
#If true, this would give 1-4
#defense on each hit taken
flat-range: true
#If true, sets the damage value
#to integers. (no decimals like 1.254)
round: true
fire:
chance: 20.0
scale-by-level: 1.0
min: 0.0
max: 0.0
#If true, this would give 1-4
#defense on each hit taken
flat-range: true
#If flat-range is false and
#round is true, this will round
#defense
round: true
flat-range and round are features for damage-types, this will add the feature to defense also
See the commented section in the defense-types example below:
defense-types: minimum: 7 maximum: 7 lore-format: - '%DEFENSE_SLASHING%' - '%DEFENSE_PIERCING%' - '%DEFENSE_BLUDGEONING%' - '%DEFENSE_PHYSICAL%' - §8-------------------- - '%DEFENSE_COLD%' - '%DEFENSE_FIRE%' - '%DEFENSE_POISON%' - '%DEFENSE_LIGHTNING%' - '%DEFENSE_RADIANT%' - '%DEFENSE_NECROTIC%' - '%DEFENSE_THUNDER%' - '%DEFENSE_FORCE%' - '%DEFENSE_PSYCHIC%' list: physical: chance: 20.0 scale-by-level: 1.0 min: 1.0 max: 4.0 #If true, this would give 1-4 #defense on each hit taken flat-range: true #If true, sets the damage value #to integers. (no decimals like 1.254) round: true fire: chance: 20.0 scale-by-level: 1.0 min: 0.0 max: 0.0 #If true, this would give 1-4 #defense on each hit taken flat-range: true #If flat-range is false and #round is true, this will round #defense round: trueflat-range and round are features for damage-types, this will add the feature to defense also