Implemented some pretty radical shaman AI changes
-Enhance and Elemental rotations have been implemented/updated
-Shields are now handled slightly differently and will be refreshed in comabt if needed
-No progress on weapon buffs or totem stacking yet, still looking for a way to handle it

Signed-off-by: cala <calaftp@free.fr>
Resist combat order works as a secondary order so a shaman can eg. resist and dps or a paladin can tank and resist
-For now it only affects shaman totems, I havn't looked at the paladin AI yet

Signed-off-by: cala <calaftp@free.fr>
Missing brackets

Signed-off-by: cala <calaftp@free.fr>
Begun overhaul of bot rotations
-Reworked shaman rotations to eliminate spellsequence++ type rotations and
instead base them on cooldowns
-Implemented Priest Shadow rotation

-Modified Paladin Abilities:
-Added aura management - auras will change based on spec and resist order
-Added seal management - seals will change based on spec and level/race
-Implemented Prot rotation (Prot will now taunt(!) if tank orders given
-Implemented Ret rotation

All rotations are single target for now, more to come soon

Signed-off-by: cala <calaftp@free.fr>
More Bot rotations implemented:

-All 3 Warlock specs have dps rotations
-Warlock demon is decided on by spec (This could probably be improved)
-Warlocks use spellstone instead of firestone

-All 3 Warrior spec rotations implemented
-Currently sudden death and revenge aren't working

-All 4 Druid specs implemented
-Bear form and rotation will only be used if tank orders given
-Currently Eclipse procs aren't working

Misc:
-Paladins will turn RF off if orders aren't tank or are cleared from tank

Signed-off-by: cala <calaftp@free.fr>
Whitespace fixes for warlock files

Signed-off-by: cala <calaftp@free.fr>
More whitespace fixes for almost all files

Indentation standard for CMaNGOS/Playerbot is 4 whitespaces, not 1 tab.
Lock will still not melee, but plenty of tweaks have gone in here.

Signed-off-by: cala <calaftp@free.fr>
Pushed a totally borked (yet nearly finished) warlock fix earlier. And here's the final bit.

Signed-off-by: cala <calaftp@free.fr>
Fixed a few logical bugs in the new code, tweaked some other code. Why a seperate function after all? So you can easily return from DoNextCombatManeuver.

Signed-off-by: cala <calaftp@free.fr>
Pushed through warlock changes to mage. Rotations need a lot of work still but at least it's spec based now instead of round robin random. Oh, and a good step forward, I'll hope you agree...

Signed-off-by: cala <calaftp@free.fr>
Tweaking of warlock and mage, removal of old sequence based rotation of mage. It's a bit worse off for now but a much better base for future improvement.

Signed-off-by: cala <calaftp@free.fr>
Applied changes done to warlock and mage to priest. These improvements have now been applied to all 3 'wand' classes.

Signed-off-by: cala <calaftp@free.fr>
Compile fix

Signed-off-by: cala <calaftp@free.fr>
Fix bug where no spec (and subsequently no rotation) was found for mage, warlock, priest under level 15 (possibly higher depending on talents spent). Big thanks to Blueboy for finding, reporting and semi-solving this bug\!

Signed-off-by: cala <calaftp@free.fr>