Zenith Attributes

Zenith Attributes

5M Downloads

AEA Crit Damage default is 0.5, making Zenith crits not happen

Partonetrain opened this issue ยท 2 comments

commented

The ZenithAttributes implementation of crit chance leaves the crit damage value check the same value as it is in Apothic Attributes, even though the AEA crit damage works differently than the Apothic Attributes crit damage attribute.

In Apothic Attributes, the attribute defaults to 1.5, making crits happen because this check is passed

I propose the while loop should check for critDmg > 0.0F

commented

@TheWinABagel There's some more logic that needs to change ๐Ÿ˜… As of right now, zenith crits reduce damage, as the rest of the code is still operating under the assumption that critDamage = 1.5. Would float critDmg = 1 + (float) attacker.getAttributeValue(AdditionalEntityAttributes.CRITICAL_BONUS_DAMAGE); work?

commented

Oops, will put a release out fixing that rq, thanks for reporting!