Warrior Subclasses

== Features ==
*Gives Warriors who have reached level 60 the option to choose one of these four subclasses:
*#Berserker “The one who rushes into the battle, regardless of the dangers ahead.”Pay 5-10 Health* to gain up to 20 Mana.
*#Defender “The valiant protector of righteousness.”Use the Defender's versions of Valorous Presence or Intimidating Gaze for 50% chance to triple-cast the skill (2nd & 3rd free). Max of 8 times per day.
*#Gladiator “Are you not entertained?!”Pay 5-10 Health* to gain up to 100 Gold.
*#Blademaster “The expert, training night and day to gain new techniques.”Pay 5-10 Health* for a chance to instantly level up (% = 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.
*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-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 subclass idea
*@alys for the idea of using the Sync button instead of a full browser refresh for NPC updates
*@HawiKing for beta testing
*@SabreCat for giving info on the error after the new restrictions on Habitica's database
Category:Streamlined Event-Driven Scripts