API GetActionCharges

Returns information about the charges of a charge-accumulating player ability. currentCharges, maxCharges, cooldownStart, cooldownDuration, chargeModRate = GetActionCharges(slot)

Arguments

 * slot : - The action slot to retrieve data from.

Returns

 * currentCharges : - The number of charges of the ability currently available.
 * maxCharges : - The maximum number of charges the ability may have available.
 * cooldownStart : - Time (per ) at which the next charge cooldown began, or   if the spell is not currently recharging.
 * cooldownDuration : - Time (in seconds) required to gain a charge.
 * chargeModRate : - The rate at which the charge cooldown widget's animation should be updated.

Details

 * Abilities like Roll (monk ability) can be used by the player rapidly, and then slowly accumulate charges over time. The  and   return values indicate the cooldown timer for the acquiring next charge (when   is less than  ).
 * If the queried spell does not accumulate charges over time (e.g. Arcane Missiles or Jab), this function does not return any values.