MainAssist 2.3
by Nargiddley

Since this is a complete rewrite it is advised to delete/move the old MainAssist(version 1.5 or lower) folder before installing this version.

Quickstart Guide:
	Once this addon is installed you should see "MainAssist" somewhere on your screen, this can be dragged and will have the tank frames anchored to it when there are tanks to track.  Right clicking this will bring up a menu to configure MainAssist.
	
	Type /ma to get a list of commands, these are all also available in the menu
	
	The menu can be opened in 4 ways
	- Typing /ma menu
	- Right clicking on the MainAssist Header
	- Keybinding
	- The FuBar plugin (will be a minimap icon when FuBar isnt installed)
	
	There is also a menu acessable by right clicking on any of the assist windows.
	
	There is a few keybindings available
	- Add your current target to the Custom Tank List
	- Clear the custom tank list
	- Open the Menu
	- Target or Assist the Main or Secondary Assists
	
	There are currently 2 lists of tanks available
	- The custom tank list is a personal list of tanks that you setup using hotkeys or the menu
	- The CTRA list is the list of tanks setup in CTRA (or compatible addons) that will be automatically kept in sync.
	- The CTRA list can be set to automatically add all party members when not in a raid.

	These lists can be enabled and disabled seperately

	Assists:
		There are 2 assists, Main and Secondary. Both have hotkeys to assist or target.
		Right click on the tank frames to set a sepcific person as an assist.
		The assist feature will pick the Main Assist automatically from the lists..
		It will pick from the lists enabled in the config menu.
		The assist picked is either the first in the list(default) or last.
		A custom assist can be set, this will override the automatic behaviour.  When they are removed from the list, Main Assist will revert back to automatically picking an assist.
		
Features:
	Automatically syncs with and can edit to the CTRA tank list
	Add any Party/Party Pet/Raid member as a custom tank.
	Optional Target of Target display for the tanks
	4 Color modes
	  -Self 
	    Unique targets will be given unique colours, your current target will be coloured green.
	  -Unique
	    Unique targets(only one tank on the list targeting them) will be coloured green, targets with more than one person targeting them will be given other colours
	  -Class
	    Tank frames will be colored based on the class of the tank
	  -Target Class
	    Tank frames will be colored based on the class of the target of the tank, useful for pvp
	
Changes:
    Version 2.3
	Added 2 new color modes, class and target class
	Added Transparency Option
	Added Click-casting support - NOTE: this requires a click-casting addon such as clique to work, it does nothing on its own
	Added a fubar plugin
	Smart Assist is now 2 assists, Main and Secondary. Both have hotkeys to assist and target. 
	  The Main Assist will still be automatically picked out of the lists unless a specific tank is selected

	Version 2.2beta(TBC) (Only works in WoW 2.0)
	Now uses the Secure Unit Frames
	Lost the ability to have arbitrary mobs as tanks due to the changes
		- When in a party -  party members, you and any pet can be a tank
		- When in a raid - only raid members can be tanks.  Possibly support pets on a limited basis in a later version
	Any changes made to the tank list while in combat wont be applied untill you leave combat, 
		this includes scale. The Frame is draggable in combat however.
	the MainAssist Header will change color to red if any changes are pending due to the in combat lock-down
	The Smart Assist feature works as previously, in combat changes to the custom assist wont take effect untill you leave combat.
	Bar textures are now customizable using SurfaceLib, Surfaces is included for a base set of textures.
	Can now edit the CTRA tank list(if promoted)
	Since this was a major rewrite there are likely bugs, and is untested on the 2.0 PTR. Feedback is appreciated
	
	Version 2.1
	Added option to have the CTRA list automatically add all party members when not in a raid
	Added custom assist to Smart Assist, this sets a person that will always be assisted.
	The entry in the list that will be assisted by smart assist will have thier name text coloured green.
	Added a menu to each assist window, right click to access them
	Added option to show the number of people in your party/raid targeting a tanks target.
	Added option to have the frames grow up from the anchor
	
	Version 2.0b
	Scale settings will now be applied on load
	Updated Korean Localization - thanks gygabyte
	
	Version 2.0a
	Fixed order of libs loading to prevent an error when no other ace2 addons loaded
	
	Version 2.0
	Minor Bug fixes
	Added Korean Localization - Thanks gygabyte


	Version 2 Beta 1
	Complete rewrite - now uses Ace2
	CTRA Tanks are now a seperate list, and keep in sync automatically
	Keep track of mobs targets, add them like you would a player, if any member of your raid/party is targeting them thier target will be shown
	Option to show Target of Target
	2 different ways of coloring the frames
	- Self, targets that match your target will be colored green (same as current behaviour)
	- Unique, targets that are unique in the list will be colored green (for setting up pulls with multiple targets etc)
	Smart assist works differently now
	if the ctra list is enabled it will assist from it, if not from the custom list. You can configure whether the assist is the first or last in these 2 lists.

