Distinct Damage Descriptions

Distinct Damage Descriptions

7.9k Downloads

[Bug] damageArmor is passed the wrong Map, no armor gets damaged for players.

yeelp opened this issue ยท 2 comments

commented

Apparently Armor doesn't take durability damage... Pretty sure it does, but check anyway.

commented

Oh nooo...

if(damageArmor(defender, resistMap, mods.isBootsOnly(), mods.isHelmetOnly()))

Look at this derp.
I pass the resistances in instead of the absorbed damage. Good for me. Players don't have resistance -> no armor damage.

commented

Oh, did not test armor yet. Wait for the Custom Damage Fix ๐Ÿ˜…
Good that you find it before you update a fix. :)