Pages » Qrpg » Core » Stats » Defense
Here you can create your own defense types and modify the existent ones.
# Custom defense identifier. Must be unique.
physical:
# Defense priority. Higher values will override.
# Defense with the highest priority will be count as default defense.
priority: 100
# Localized name.
name: Physical Defense
# Lore display.
# Placeholders:
# - %name% - Attribute name.
# - %value% - Formatted attribute value. All attribute formats are in - ENGINE CONFIG -.
format: '&6▸ %name%: &f%value%'
# List of attached Damage Types, that this defense can resist.
block-damage-types:
- physical
# Defense protection factor. The more value = the better damage resistance.
# Formula is: Defense = Damage * Protection Factor.
protection-factor: 0.25
magical:
priority: 10
name: Magical Defense
format: '&d▸ %name%: &f%value%'
block-damage-types:
- magical
protection-factor: 0.25
fire:
priority: 10
name: Fire Defense
format: '&c▸ %name%: &f%value%'
block-damage-types:
- fire
protection-factor: 0.25
poison:
priority: 10
name: Poison Defense
format: '&a▸ %name%: &f%value%'
block-damage-types:
- poison
protection-factor: 0.25
water:
priority: 10
name: Water Defense
format: '&9▸ %name%: &f%value%'
block-damage-types:
- water
protection-factor: 0.25
wind:
priority: 10
name: Wind Defense
format: '&7▸ %name%: &f%value%'
block-damage-types:
- wind
protection-factor: 0.25
Information
Empty Block