dao::abilities::Cooldown

struct

An ability’s cooldown on a creature, in seconds of game time.

Declared in dao/Abilities.h.

Functions

Fraction()

float Fraction() const

Returns the fraction of the cooldown still to run, from 0 to 1.

This is what the quickbar’s sweep shows.

Fields

Field Type  
remaining float = 0 seconds left; 0 when the ability is ready
total float = 0 the length, in seconds, the cooldown was last set to