Better Hurt Timer

Better Hurt Timer

691k Downloads

Insane damage from the Wroughnaught Axe from Mowzie's Mobs

CalaMariGold opened this issue ยท 11 comments

commented

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?

commented

Well, I could code something for that

commented

another way is checking if the axe is doing a special kind of damage and use that to set an iframe

commented

what minecraft version are you on? 1.12?

commented
commented

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

commented

Right,
The new config option is called "itemSource"
use it like: "minecraft:iron_axe:0.5"

commented

Mhm!

commented

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...

commented

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

commented

Oh sure :>

commented

If you could upload the new jar on Curse, that would be great. Thank you!