[7903] Load and save for pets only talents. Not store unused (in fact) free talent point amount. Author: VladimirMangos

* Other pet spell types auto-learned at level setup/load.
    * Code will cleanup pet_spell table from non-talents spell if detect any at load.
    * Free talents points recalculated at loading and levelup so store its in DB useless.

    Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-28 18:22:54 -05:00
parent 4a7a63e438
commit cfa2e223c0
4 changed files with 79 additions and 42 deletions
+1
View File
@@ -65,6 +65,7 @@ enum PetSpellType
{
PETSPELL_NORMAL = 0,
PETSPELL_FAMILY = 1,
PETSPELL_TALENT = 2,
};
struct PetSpell