WoW:API GetManaRegen: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with function information)
 
m (Move page script moved page API GetManaRegen to API GetManaRegen without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:46, 15 August 2023

WoW API < GetManaRegen

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

base, casting = GetManaRegen()

Arguments[edit]

None


Returns[edit]

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

Details[edit]

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.