Skip to content

Actually fix crits#23

Open
Partonetrain wants to merge 3 commits intoTheWinABagel:masterfrom
Partonetrain:master
Open

Actually fix crits#23
Partonetrain wants to merge 3 commits intoTheWinABagel:masterfrom
Partonetrain:master

Conversation

@Partonetrain
Copy link
Contributor

I'd like to apologize for the confusion regarding these. In 0.2.4 crits are still reducing damage. My initial solution should have been the float critDmg = 1 + (float) attacker.getAttributeValue(AdditionalEntityAttributes.CRITICAL_BONUS_DAMAGE);

Additionally, crits are now only calculated on server. This didn't make a practical difference in my testing, but I did noticed rand.nextFloat() could return different values. The calculation on the client seemed to just be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant