[7833] Implement levelup spells for non-hunter pets.

* Use less hacky way to prepare data in SpellMgr::LoadPetLevelupSpellMap.
* Fill data for all pet families including not hunter pets.
* Fixed bug with lost/unexpected learned spells for some hunter pet families.

Use less hackky way for
This commit is contained in:
VladimirMangos 2009-05-15 06:22:24 +04:00
parent b722e75d90
commit a1f4549862
5 changed files with 78 additions and 157 deletions

View file

@ -1814,6 +1814,8 @@ enum CreatureFamily
CREATURE_FAMILY_SPIRIT_BEAST = 46
};
#define MAX_CREATURE_FAMILY 47
enum CreatureTypeFlags
{
CREATURE_TYPEFLAGS_TAMEABLE = 0x0001,