Insane damage from the Wroughnaught Axe from Mowzie's Mobs
CalaMariGold opened this issue ยท 11 comments
The axe has a shift+right click ability and it's doing 8-12 damage 15 times in a second. We disabled iframes and attack speed for attacks but want this item specifically to have an iframe. How would we go about doing that?
another way is checking if the axe is doing a special kind of damage and use that to set an iframe
Done, try it out when you can
https://github.com/ArekkuusuJerii/BetterHurtTimer/releases/tag/test
A bit of a warning though, because you disabled attack speed and iFrames for attacks, players will be able to hit entities as fast as they can click, even in the same frame, using macros.
I recommend adding a damageSource rule for player attacks: "player:false:0"
then remove "player" from the attackSources rules
this way they cannot spam attack to win on the same frame, as the damage has to be higher than the previous damage to register.
but it's alright
Right,
The new config option is called "itemSource"
use it like: "minecraft:iron_axe:0.5"
A bit of a warning though, because you disabled attack speed and iFrames for attacks, players will be able to hit entities as fast as they can click, even in the same frame, using macros.
I recommend adding a damageSource rule for player attacks: "player:false:0"
then remove "player" from the attackSources rules
this way they cannot spam attack to win on the same frame, as the damage has to be higher than the previous damage to register.
but it's alright
Actually don't do this, I think I forgot but if you do this then players won't be able to hit entities at the same time...
We use Better Combat Rebirthed, which makes it so that players can not attack while their attack speed is on cooldown. Also, this new version works perfectly, thank you so much <3