Started by
MilqueToast
on
Topic category: Help with Minecraft modding (Java Edition)
So what I'm trying to achieve is that, if I dual wield 2 stone swords in main and off hands, my attack damage would increase by 10%. means it would deal 5.5 damage each swing.
But this doesnt seem to work as intended as when i input the following code block, a husk dies with only 2 hits. Can anyone guide me through this ?
My code block :-
Edited by MilqueToast on Thu, 02/10/2022 - 09:18
This might be caused by invincibility frames.
I'm sorry but could you elaborate
I mean, it works as intended yes?
You deal (atleast) 10 damage to the Husk because of the code, and I think husk has around 20 HP so it dies in two hits.