
Deicide: Wither
This mod makes the Wither transcend divinity, preserving the vanilla style while enhancing the fun and challenge of the Wither boss fight.
Список изменений
Added Wither Erosion Maximum Health Reduction Mechanic
For non-Wither entities with the Wither Erosion effect at level ≥ 21 (amplifier ≥ 20), maximum health is reduced:
Each level reduces maximum health by 5%: level 21 reduces 5%, level 22 reduces 10%, level 23 reduces 15%, and so on.
Reduction cap: when the theoretical reduction reaches or exceeds 100%, maximum health is not reduced to 0, but is set to a minimum of 1 point.
Synchronized implementation: both the getMaxHealth() return value and the Attributes.MAX_HEALTH attribute base value are modified to ensure they remain consistent.
Recovery mechanism: when the effect is removed or the level is insufficient, the original maximum health is restored, and current health is clamped to not exceed the restored maximum.
This mechanic stacks with the existing "Wither Erosion level ≥ 10 prevents healing" effect, further strengthening the suppressive power of Wither Erosion.
Damage cap changed to 15 points, and the independent invincibility frames changed to 0.5 seconds.
Optimized the damage cap logic.
Optimized the invincibility frames shield.
