WoW:API GetManaRegen: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with function information)
 
(Returns regen per 1 second not per 5 seconds.)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__


Gets the player's current mana regeneration rates (in mana per 5 seconds).
Gets the player's current mana regeneration rates (in mana per 1 seconds).
  base, casting = GetManaRegen()
  base, casting = GetManaRegen()


Line 15: Line 15:


== Details ==
== Details ==
: The rates given by this funciton are the same as the ones displayed in the PaperDoll.
: The rates given by this funciton are not the same as the ones displayed in the PaperDoll.
: To get the same values as displayed in the PaperDoll, multiply the values by 5.

Revision as of 01:48, 9 May 2008

WoW API < GetManaRegen

Gets the player's current mana regeneration rates (in mana per 1 seconds).

base, casting = GetManaRegen()

Arguments

None


Returns

base, casting
base
Number - mana regeneration when not casting spells
casting
Number - mana regeneration while casting spells

Details

The rates given by this funciton are not the same as the ones displayed in the PaperDoll.
To get the same values as displayed in the PaperDoll, multiply the values by 5.