#How to make damage not scale with attack speed from vanilla minecraft

1 messages · Page 1 of 1 (latest)

frigid prairie
#

i'm creating a custom rpg server and i want to take out all vanilla aspects from minecraft and replace them with my own systems.
i'm already pretty much done, but every time i damage an entity with a weapon, the damage slightly changes due to minecraft's attack speed and fully charged attacks.
i already set the cooldown for attacks at 10 ticks, which makes the damaged entity only take damage every 10 ticks even if a player spam attacks it, but because of the cooldown minecraft has, the damage keeps slightly changing, which is annoying.
how can i make every attack a fully charged attack and ignore what minecraft has?

TL;DR: i want to remove minecraft's charged attacks and make every attack in my server a fully charged attack without cooldowns

native sail
#

you can set (or scale/otherwise modify) the damage expression inside an on damage: event

frigid prairie
native sail
#

You should readthedocs, most things can be found there with a good search
https://skripthub.net/docs/?id=6650

frigid prairie
native sail
#

well then I guess you cant

steady pendant
#

the humble attack speed attribute

frigid prairie
steady pendant
#

negative

#

though I'm not sure why you'd want to make them attack slower after saying you want to make every attack a fully charged

#

unless your goal is to cancel the non full charged, in which case the path is simple