World of Warcraft Talent Planner v2.12

TalentPlanner adds planning capabilities to the talent frame. Left clicking on a
talent increases (and right clicking decreases) your planned rank for that
talent. Control left clicking a talent actually buys it if you have a point.
Note that I am not responsible for any talents you accidentally buy! I've made
every effort to make the interface intuitive and have tested it extensively, but
until you get used to it it may be a bit disorienting.

The talents are color coded to indicate their status (see below) and a
description of the planned rank is added to the tooltip. It's similar in nature
to the talent calculators on the Blizzard website, but slightly more complicated
because it needs to show you not only what talents you've planned but also what
you currently have. The bottom right numbers are your current rank/max rank. The
bottom left number is your goal rank.

Talent Planner no longer depends on the Blizzard web calculators. Given that they
are not updated frequently and that they tend to introduce more errors and typos
than they fix I am no longer using them. The description text for the planned 
ranks is now derived from the game itself. This means that if Blizzard changes a
rank of a talent that none of my characters has but does not modify the rank that
they do have or rank 1 for talents they don't have, I might miss it. But with the
patch notes in hand and the fact that changes to talents tend to affect every
rank of the talent, this approach will be much easier to maintain and much more
accurate. Please report any inconsistencies you find!

As of v2.6, Talent Planner is only half-localized in German. I don't have access
to a deDE client, and as I am now using game data, I cannot support localization
by myself. If someone is interested in localizing Talent Planner, I can provide
the web script to get a "baseline" talent set from the web and the addon I wrote
that will compare that set against the data in-game. It should be relatively easy
to obtain accurate, localized talent data using those tools.

There are several states a talent can be in, each with its own color.

If you do not currently have points to spend:

Grey: You have not planned any ranks in this talent but you could do so.
Blue: You have planned some ranks in this talent, but not to its maximum.
Purple: You have planned to max this talent out.
Gold: You have maxed out this talent.
Red: You have more ranks in this talent than you had planned.

If you have one or more points to spend:

Cyan: You have not planned any ranks in this talent, but you could still spend a
point on it if you want.
Green: You have planned some ranks in this talent and can now spend a point on it.

Slash commands:

/tp or /planner
Enable/disable the mod.

/tp or /planner reset
Clears the talent goals for the current character.

/tp or /planner current
Sets the talent goals for the current character to be whatever talents they
currently have. It's probably a good idea to do this the first time you log in
with a character.

/tp or /planner save <name>
Saves the current build set under the name <name>. If there is already a saved
set with that name, this will overwrite it.

/tp or /planner load <name>
Loads the build set saved as <name>. This will overwrite your current build.

/tp or /planner delete <name>
Deletes the set saved as <name>.

/tp or /planner list
Lists the saved sets for the current character.

Future plans:

 1. Make the colors configurable. Some may not agree with my color choices,
 seeing as how I have no artistic sense whatsoever.

 2. Allow for alt-viewing. Currently it only shows the tree for the current
 character. It would be a pain to store all the textures and whatnot in order to
 be able to view one character's talent goals on another character in the normal
 graphical talent pane, but perhaps a text listing would work.

 3. Shrink the data file down a bit. Currently, it stores the entire text of
 every rank of every talent because I didn't want to have to manually create the
 data file. (It's currently done with JavaScript because that's what the
 Blizzard talent calculator pages are written in.) I'm working on a way to just
 store the text once, with different values that can be plugged in for the
 different ranks, which will save some space.

 4. Reduce my dependency on the Blizz website by storing only the numbers that
 change from rank to rank instead of the whole description. This will remove the
 necessity of localizing the talents and also achieve future plan #3, as well as
 making the data file easier to modify in the case of errors. It is, however,
 harder than it sounds. Trust me.

Changes:

07/15/08: v2.12
 - Updated for WoW 2.4.3.

05/13/08: v2.11
 - Updated for WoW 2.4.2.

04/21/08: v2.10.2
 - Fixed a bug that was preventing the mod from functioning at all for female characters in the German client only. Thanks to Nemesisx2 and Blackrat for tracking down the bug.

03/29/08: v2.10.1
 - OMG how did I forget to enable chat linking of talents?

03/26/08: v2.10
 - Updated for WoW 2.4.0.

01/08/08: v2.9
 - Updated for WoW 2.3.2.

11/13/07: v2.8
 - Updated for WoW 2.3.
 - Now writing command line info to the right chat frame.
 - Thanks to Dridzt on the WoW Interface forums for doing most of the work.

10/15/07: v2.7
 - Updated for WoW 2.2.3.

05/24/07: v2.6
 - Updated for WoW 2.1.0. Too many changes to list here.
 - Switched to using in-game data instead of the Blizz web calculators.
 - Lots of typos and rewordings in the talent data fixed using in-game data.
 - Future updates will happen much sooner after the patch, trust me.

03/21/07: v2.5
 - Fixed the bug where goal rank would remain when the mod was disabled.

03/06/07: v2.4
 - Druid: Savage Fury no longer affects Maul, Swipe, or Mangle (Bear).
 - Druid: Predatory Instincts reduced from 3/6/9/12/15% to 2/4/6/8/10%.
 - Druid: Moonkin Form armor bonus increased from 360% to 400%.
 - Hunter: The Beast Within is finally right on the Blizz Calculators.
 - Hunter: Barrage and Improved Barrage are still wrong on the Blizz Calculators.
 - Priest: Vampiric Embrace reduced to 15% from 20%.
 - Priest: Silent Resolve no longer reduces threat generated by Shadow spells.
 - Shaman: Elemental Precision is finally right on the Blizz Calculators.
 - Shaman: Elemental Focus now triggers on all spell critical strikes.
 - Warlock: Demonic Tactics now increases critical strike chance instead of damage. 
 - Warrior: Unbridled Wrath now has an increased chance when using slower weapons.
 - Warrior: Improved Battle Shout renamed Commanding Presence, increases Commanding Shout in addition to Battle Shout. 

01/28/07: v2.3
 - Changes to allow multiple characters with the same name on different realms

01/23/07: v2.2.2
 - Updated for 2.0.6 talent changes.
 - Undocumented changes that I found:
   - Rogue: Surprise Attacks makes all finishing moves unable to be dodged
 - Mage: Improved Fireball normal tooltip does not reflect the changes to spell damage
 - Mage: Improved Frostbolt normal tooltip does not reflect the changes to spell damage
 - Hunter: The Beast Within is still wrong on the Blizz Calculators.
 - Updated German talents as best as I could without being able to read German.

01/10/07: v2.2.1
 - Updated TOC to 20003. I blame aliens, personally.

01/09/07: v2.2
 - Updated for 2.0.3 talent changes.
 - Undocumented changes that I found:
   - Druid: Shredding Attacks reduces cost of Shred by 9/18, up from 6/12
   - Druid: Mangle lasts for 12 seconds, up from 10
   - Paladin: Avenger's Shield lasts 6 seconds, up from 3
   - Rogue: Mace Specialization increases skill by 2/4/6/8/10, up from 1/2/3/4/5
   - Rogue: Improved Sap gives 50%/100% chance to retain stealth, from 30%/60%/90%
   - Rogue: Improved Slice and Dice and Improved Backstab switched places?!?
   - Warrior: Mace Specialization generates 6 rage, up from 2
 - Hunter: The Beast Within is still wrong on the Blizz Calculators.
 - German talents not yet updated.
 - Modified localization routines to default to enUS for unsupported locales

12/06/06: v2.1
 - Omen of Clarity (Druid): now lasts 30 minutes.
 - The Beast Within (Hunter): 10% increased damage but 20% mana cost reduction.
 - Fixed bug with listing saved sets. (Pays to RTFM, doesn't it?)

12/02/06: v2.0
 - Changes to support Lua 5.1.1 and the new 41-point talent trees.

09/05/06: v1.6.1
 - deDE Schurke talents updated.

08/22/06: v1.6
 - Rogue talents updated (enUS only).
 - Will update deDE talents when WoW-Europe does.

08/02/06: v1.5.1
 - Various talents updated. Too many to list.

06/21/06: v1.5
 - Updated Mage and Shaman talent trees (enUS, deDE).
 - Updated Druid Innervate -> Swiftmend (enUS only).
 - Updated various Warrior talents (enUS only).
 - Will update deDE Druide and Krieger when WoW-Europe does.

05/14/06: v1.4
 - Added save/load support by request.
 - Goal rank is now shown on the bottom left corner of the talent button.
 - Fixed bug with talent tree names.
 - German text for new features in place. (Thanks again baka!)
 - Removed German slash commands. Was told they're not necessary.

04/14/06: v1.3
 - Fixed a nil index error that was caused by the talent frame updating before
   the player was fully logged in.
 - Integrated German talent data into the English data so it works without
   having to rename data files.

04/11/06: v1.2
 - Fixed problems with German data files.

04/11/06: v1.1
 - Added preliminary German support. (Thanks, baka_nanaka!)

04/07/06: v1.0
 - Initial Release.
