kernitus / BukkitOldCombatMechanics

Spigot plugin to configure combat mechanics from 1.9 onwards
https://www.spigotmc.org/resources/19510/
Mozilla Public License 2.0
161 stars 69 forks source link

Shield Damage Reduction not working as intended #627

Closed SalomonPicos closed 1 year ago

SalomonPicos commented 1 year ago

Information

Problem Description

When i get hit without using shield i receive 0 damage (with the armor set i have) while when i use the shield i receive 2 hearts of damage

Steps to reproduce the behavior:

  1. Using shield
  2. Get hit by a player

Expected Behaviour

I should receive less damage while using shield i suppose

Actual Behaviour

I receive more damage while using shield then when i'm not using it

kernitus commented 1 year ago

I will look into this together with the rest of the damage rework.

kernitus commented 1 year ago

Hello @SalomonPicos please try the new test builds, where I have rewritten most of the calculations that deal with damage.

kernitus commented 1 year ago

Closing due to rewrite of all damage calculation code. Please open a new issue with debug logs from the latest version if you think the issue is still present.