#Need Help Fixing Flaws on Parry System [RESOLVED]
1 messages · Page 1 of 1 (latest)
The best you can do is adding the player the resistance effect
Unless you want to use player.json
Yes please anything would actually help...
I've been trying to make it so I don't take damage when I had parry tag but if I do player.json just breaks 💀
If you want to avoid using player.json or you want to use .js, there is a way to at least prevent a player from taking damage that is beneath the overkill amount
player.getComponent("minecraft:health").setCurrentValue(500);
that, for example, would set the player's health to 500
if you ran it through if statements for your parrying system, for example, it would allow you to "cancel" smaller amounts of damage.
But you'd need to apply some logic for the value health is set to, of course
Yea
It's fixed
Need Help Fixing Flaws on Parry System [RESOLVED]
I use it in my Kimetsunoyaiba Add-on