Changing durability on armor

Discussion in 'Plugin Development' started by Kainzo, Feb 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline


    Armor is breaking extremely fast.
    We've recently moved our plugin from doing it's own custom damage/health to now using the Bukkit's health system for hp / damage over 20.

    Previously, it was applying the vanilla-damage and then we would override and do "our" damage, so it from 7 to 70. The armor was taking 7 dmg and then the player was taking 70 dmg.

    Now since we're using Bukkit Health/Damage - we're applying the 70 dmg directly without any overriding / etc.

    Any thoughts on how to increase the durability of the armor or handle it so armor doesn't drain 10+ times faster? ~ "armor durability"
  2. Offline


    You could compute the durability change on damage, and apply that to the armor one tick after?
Thread Status:
Not open for further replies.

Share This Page