Mojira Archive
MCPE-156012

Resistance effect is weaker than it should be

The combat fixes in 1.18.30 corrected MCPE-82952 in a technical sense, but in the wrong direction. Now Resistance V > Resistance IV, but all of the % damage reductions are one level too low.

Steps to Reproduce

  1. Create a world on normal difficulty with cheats enabled and natural regeneration off.
  2. Trap a vindicator in a 1 x 2 x 1 box using a trapdoor at head height so that you can walk in to visit him.
  3. Give yourself Resistance I (/effect @s resistance 100 0 true)
  4. Walk in-and-out of the vindicator's box until it hits you.
  5. Health yourself with (/effect @s instant_health 1 0 true)
  6. Repeat steps (3) - (5) for Resistance levels up to V.

Results

Resistance Level Expected Damage Observed Damage
I 10 (20% reduction) 13 (0% reduction)
II 7 (40% reduction) 10 (20% reduction)
III 5 (60% reduction) 7 (40% reduction)
IV 3 (80% reduction) 5 (60% reduction)
V 0 (100% reduction) 3 (80% reduction)

Fixed

[Mod] GoldenHelmet

2022-05-18, 07:24 PM

2022-07-12, 06:59 PM

2022-07-12, 06:59 PM

3

2

Confirmed

785907

1.18.31

1.19.10.22 Preview, 1.19.10