Hello!
I need some help on skript with something of VERY, VERY, VERY, VERY, VERY hard.
I want to make a kind of combact system different from vanilla, like this:
When you damage a mob with an item, you deal the damage that the item has, with an exception:
You have to wait the weapon custom cooldown to damage: during the cooldown you won't be able to do damage.
Example:
A netherite sword would deal always 8 damage, crit or not, but you need to wait a cooldown of 1.6 seconds to strike the next hit.
The mobs would also need to have a custom health system:
I want mobs to have shown a certain amount of hp, but in reality they have 0.1hp so that when they die they don't make unwanted red-hearts particles.
Also. if I hit them with my first I always do 1 damage and don't have any cooldown-
Basically, I have to give a mob a kind of other stats(??) but I mostly don't have ANY idea on how to do it, expecially the health part.
(P.S.: Don't ask me "Code please" because I don't have any and I'm new to skript and most importantly I'm not asking for free code.)
