-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Minecraft: 1.12.2
Forge: 14.23.5.2860
Mods: 4
jei_1.12.2-4.16.1.302
PotionCore-1.9_for_1.12.2
QualityTools-1.0.7_for_1.12.2
RLTweaker-1.12.2-0.4.8
While doing some tests with scaling health priorities... I discovered a bug with Potion Core's Resistance. Apparently it can go to 100% which blocks all damage taken, in fact even if you had 150% Potion Core Resistance it'll still only block 100% of the damage... however... if you should gain any Vanilla Resistance... this may cause a problem where it can actually make you take damage, rather than reduce it.
This test was done with only the listed mods above. ToroHUD was used to see the damage particles and Quality Tools was used in order to get the Potion Core Resistance attributes. Note that toroHUD rounds up the damage taken so 2.5 may show as 3.
=====
Zombie Pigman hits me for 12 Damage with no resistance of any kind on World Difficulty Hard.
Resistance I (+20%) = 10 Damage Taken.
Resistance II (+40%) = 7 Damage Taken.
Resistance III (+60%) = 5 Damage Taken.
Resistance IV (+80%) = 2 Damage Taken.
+50% Potion Core Resist = 6 Damage Taken.
+100% Potion Core Resist = 0 Damage Taken.
I am now gonna add in scaling health but without any damage scaling, as it has a debug option to show your exact health value. This is what I get with both Resistances. Note that this can happen without scaling health being used.
+50% Potion Core Resistance + Resistance I (+20%) = 4 Damage Taken. (16.16 / 20.0 Health)
+50% Potion Core Resistance + Resistance II (+40%) = 3 Damage Taken. (17.119999 / 20 Health)
+50% Potion Core Resistance + Resistance III (+60%) = 3 Damage Taken. (17.119999 / 20 Health)
+50% Potion Core Resistance + Resistance IV (+80%) = 2 Damage Taken. (18.08 / 20.0 Health)
+100% Potion Core Resistance + Resistance I (+20%) = 2 Damage Taken. (18.08 / 20.0 Health)
+100% Potion Core Resistance + Resistance II (+40%) = 3 Damage Taken. (17.119999 / 20 Health)
+100% Potion Core Resistance + Resistance III (+60%) = 3 Damage Taken. (17.119999 / 20 Health)
+100% Potion Core Resistance + Resistance IV (+80%) = 2 Damage Taken. (18.08 / 20.0 Health)
Either +50% or +100% Potion Core Resistance + Resistance V (+100%) = 0 Damage Taken. (20.0 / 20.0)
=====
I am not sure if this is even known, now thinking about it.