Use cooldown for melee attacks