[7971] Implement support exotic pets limtations related to hunter telent 53270. Author: VladimirMangos

Note: before this commit hunters can tame exotic pets like any other.
          After patch like not propertly contriolled pets will auto-dismiss at loading
          if talent not learned.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-06 20:31:23 -05:00
parent 724e5fe5ce
commit ebfb4c0558
9 changed files with 109 additions and 37 deletions
+1
View File
@@ -1723,6 +1723,7 @@ class TRINITY_DLL_SPEC Player : public Unit
void SetCanBlock(bool value);
bool CanTitanGrip() const { return m_canTitanGrip ; }
void SetCanTitanGrip(bool value) { m_canTitanGrip = value; }
bool CanTameExoticPets() const { return isGameMaster() || HasAuraType(SPELL_AURA_ALLOW_TAME_PET_TYPE); }
void SetRegularAttackTime();
void SetBaseModValue(BaseModGroup modGroup, BaseModType modType, float value) { m_auraBaseMod[modGroup][modType] = value; }