Warrior, Mage, Healer, Rogue Subclasses

== Features ==
*Gives Habiticans who have reached level 60 the option to choose one of the subclasses available to their class. Four of the 16 subclasses available are listed below:
**Rogue → Ninja “The power of inner strength.”Pay 5-10 Health* to gain up to 20 Mana.
**Mage → Sage “Knowledge is power.”Use the Sage's versions of Ethereal Surge or Earthquake for 50% chance to triple-cast the skill (2nd & 3rd free). Max of 8 times per day.
**Healer → Traveling Doctor “Just tell me where it hurts.”Pay 10 Mana** to gain up to 100 Gold.
**Warrior → Blademaster “The expert, training night and day to gain new techniques.”Pay 5-10 Health* for a chance to instantly level up (percentage = 480/level. i.e., 8% at level 60).* Cost goes down to 5 Health at 250 CON (equipment and buffs included). Max of 50 Health used per day.** Max of 100 Mana used per day.
*Rate limit checking (sends "retry after X seconds" message)
== First-Time Setup Instructions ==
*Follow the easy step-by-step setup guide with pictures
== Code ==
*https://raw.githubusercontent.com/elrgarcia/Habitica-Warrior-Mage-Healer-Rogue-Subclasses/master/Code.txt
== Optional Customizations ==
*NOTIFICATION_CHANCE can be changed to adjust the chance of notifications (max 0.25)
== Update History ==
* April 24, 2022 - Fixed error from new restriction in MongoDB
== Update Instructions ==
*If you already had an earlier version of the script set up previously and want to update to a newer version, do all three parts under Applying Updates to Streamlined Scripts
== Credits and Acknowledgments ==
*@CoalCopterStone for the Sub-Classes challenge
*@Pyrusticia for the Gladiator, Traveling Doctor, and Poison Taster subclass ideas
*@alys for the idea of using the Sync button instead of a full browser refresh for NPC updates
*@HawiKing and @NinjaKabute for original beta testing
*@SabreCat for giving info on the error after the new restrictions on Habitica's database
*@Catchlight, @resurrexia, @Sumoom, @CitizenPrayer for testing script updates
Category:Streamlined Event-Driven Scripts