WoW:API IsResting: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to match the current API boilerplate.)
m (Move page script moved page API IsResting to API IsResting without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 19: Line 19:
== See Also ==
== See Also ==
* [[Rested]]
* [[Rested]]
* [http://www.worldofwarcraft.com/info/basics/resting.html Resting] at the [http://www.worldofwarcraft.com Official site].

Latest revision as of 04:46, 15 August 2023

WoW API < IsResting

Checks to see if Player is resting.

resting = IsResting();

Arguments[edit]

None


Returns[edit]

resting
Boolean - Whether the player is resting


Details[edit]

You are Resting if you are in an Inn or a Major City like Ironforge or Orgrimmar.
While resting, the player will gain XP Bonus.


See Also[edit]