IsResting

From Wowpedia
Jump to: navigation, search

Checks to see if Player is resting.

resting = IsResting();

Returns

resting 
boolean - Whether the player is resting

Details

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