Перейти к основному содержимому

Armor Actions

Actions triggered when taking damage via EnchantmentEvent.PLAYER_DEFEND or EnchantmentEvent.ARMOR_EQUIP. All actions have the standard ActionEntry fields (id, name, criteria, modifiers, triggers).

Action EntryDescriptionIconExtra Fields
thorns_advanced_actionReflects a % of incoming melee damage back to the attackermdi:shield-starreflectPercentage: Double = 0.15 (15% damage reflected)
regeneration_aura_actionGrants passive regeneration when attackedmdi:heart-pulseNone
resistance_aura_actionGrants a resistance buff when attackedmdi:shield-checkduration: Int = 100 (ticks)
evasion_actionChance to completely dodge and cancel incoming damagemdi:run-fastdodgeChance: Double = 0.1 (10% dodge)
health_boost_actionGrants extra maximum health when equippedmdi:heart-plusbonusHearts: Double = 4.0 (extra hearts)
deflect_actionChance to deflect incoming projectiles back at the attackermdi:shield-checkdeflectChance: Double = 0.15 (15% deflect)
anti_knockback_actionKnockback resistance when equippedmdi:anchorNone
molten_armor_actionSets the attacker on fire when they strike youmdi:firefireDuration: Int = 60 (seconds)
frozen_armor_actionSlows and freezes the attacker when they strike youmdi:snowflakefreezeDuration: Int = 60 (ticks)
enlightened_armor_actionChance to heal when attackedmdi:lightbulbhealChance: Double = 0.2 (20%)
voodoo_armor_actionChance to apply Weakness to the attackermdi:voodooweaknessChance: Double = 0.2 (20%)
hardened_armor_actionChance to ignore durability lossmdi:shield-crownignoreChance: Double = 0.3 (30%)
angel_wings_actionReduces or completely negates fall damagemdi:angelNone
toxic_aura_actionEmits a toxic cloud when taking heavy damagemdi:skull-outlinedamageThreshold: Double = 8.0 (min damage to trigger)
implosion_armor_actionShockwave when health drops critically lowmdi:explosionhealthThreshold: Double = 4.0 (trigger at \<4 HP)

Example

{
"id": "thorny_defense",
"name": "Thorny Defense",
"reflectPercentage": 0.25
}