Attack Cooldown (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.6.1
Syntax
[the] attack cooldown of %players%Description
Returns the current cooldown for a player's attack. This is used to calculate damage, with 1.0 representing a fully charged attack and 0.0 representing a non-charged attack. NOTE: Currently this can not be set to anything.
Examples
on damage:
if attack cooldown of attacker < 1:
set damage to 0
send "Your hit was too weak! wait until your weapon is fully charged next time." to attacker