*Fix frenzy and Ferocious Inspiration proc.

*Add command .reset all pet_spells - use it if you still have problems with pet talents after recent revs changes (like pets with all talents for example)

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-23 20:57:17 +02:00
parent cedc328d1f
commit 066af701d3
9 changed files with 68 additions and 1 deletions
+3 -1
View File
@@ -497,7 +497,8 @@ enum AtLoginFlags
AT_LOGIN_RENAME = 1,
AT_LOGIN_RESET_SPELLS = 2,
AT_LOGIN_RESET_TALENTS = 4,
AT_LOGIN_CUSTOMIZE = 8
AT_LOGIN_CUSTOMIZE = 8,
AT_LOGIN_RESET_PET_SPELLS = 16
};
typedef std::map<uint32, QuestStatusData> QuestStatusMap;
@@ -1342,6 +1343,7 @@ class TRINITY_DLL_SPEC Player : public Unit
void learnSpell(uint32 spell_id, bool dependent);
void removeSpell(uint32 spell_id, bool disabled = false, bool update_action_bar_for_low_rank = false);
void resetSpells();
void _resetAllPetSpells();
void learnDefaultSpells();
void learnQuestRewardedSpells();
void learnQuestRewardedSpells(Quest const* quest);