Bukkit: Armor Points

Discussion in 'Plugin Development' started by Diemex, Apr 3, 2014.

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


    Can anyone think of a way to get armor points? If I know the damage before and after the armor reduced it, that would already suffice.

    1. Don't use reflection Link
    2. Don't hardcode the armorpoints Link
  2. Offline


    Diemex I don't see and problems with those two methods.
  3. Offline


    1. Reflection will break with every update
    2. Hardcoding armor doesn't allow for custom armor from mods which I want to support and not have to hardcode for every new piece of armor
  4. Offline


    You could do a personal study on the effects of each piece of armor and use that knowledge to manually change the damage values. This would take a while, but it would work.
Thread Status:
Not open for further replies.

Share This Page