Pages » Qrpg » Core » Stats » Damage
Here you can create your own damage types and modify the existent ones.
# Damage identifier. Must be unique.
physical:
# Attribute priority. Higher value will override.
# Damage attribute with the highest priority will be defined as a default damage type.
priority: 100
# Localized name.
name: Physical Damage
# Lore format.
# Placeholders:
# - %name% - Attribute name.
# - %value% - Formatted attribute value. All attribute formats are in - ENGINE CONFIG -.
format: '&6⚔ %name%: &f%value%'
# Vanilla damage causes attached to this damage attribute.
# This means, each time when entity gets damage from specified cause it will be count as a damage from current damage attribute,
# that will affect all damage type settings.
# All Bukkit Damage Causes are - HERE -.
attached-damage-causes:
- ENTITY_ATTACK
# Custom actions that will be executed when damage from this damage type is proceed.
# See - HERE - for Custom Actions Engine tutorial and examples.
on-hit-actions: {}
# Multiplies the damage by specified value, if damage receiver is in specified biome.
# All Biomes are - HERE -.
biome-damage-modifier:
PLAINS: 1.0
DESERT: 1.25
# Multiplies the damage by specified value, if damage receiver is specified entity.
# All Entity Types are - HERE -.
entity-type-modifier:
PIG: 1.0
# Multiplies the damage by specified value, if MythicMob is in specified faction.
mythic-mob-faction-modifier:
faction: 1.0
magical:
priority: 10
name: Magical Damage
format: '&d⚡ %name%: &f%value%'
attached-damage-causes:
- ENTITY_ATTACK
on-hit-actions: {}
biome-damage-modifier:
PLAINS: 1.0
entity-type-modifier:
PIG: 1.0
mythic-mob-faction-modifier:
faction: 1.0
fire:
priority: 10
name: Fire Damage
format: '&c☀ %name%: &f%value%'
attached-damage-causes:
- ENTITY_ATTACK
on-hit-actions: {}
biome-damage-modifier:
PLAINS: 1.0
NETHER: 1.25
entity-type-modifier:
PIG: 1.0
mythic-mob-faction-modifier:
faction: 1.0
poison:
priority: 10
name: Poison Damage
format: '&a☣ %name%: &f%value%'
attached-damage-causes:
- ENTITY_ATTACK
on-hit-actions: {}
biome-damage-modifier:
PLAINS: 1.0
SWAMPLAND: 1.25
entity-type-modifier:
PIG: 1.0
mythic-mob-faction-modifier:
faction: 1.0
water:
priority: 10
name: Water Damage
format: '&9⚓ %name%: &f%value%'
attached-damage-causes:
- ENTITY_ATTACK
on-hit-actions: {}
biome-damage-modifier:
PLAINS: 1.0
OCEAN: 1.25
entity-type-modifier:
PIG: 1.0
mythic-mob-faction-modifier:
faction: 1.0
wind:
priority: 10
name: Wind Damage
format: '&7⚕ %name%: &f%value%'
attached-damage-causes:
- ENTITY_ATTACK
on-hit-actions: {}
biome-damage-modifier:
PLAINS: 1.0
entity-type-modifier:
PIG: 1.0
mythic-mob-faction-modifier:
faction: 1.0
Information
Empty Block