[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 committed 2009-06-06 20:31:23 -05:00
1 parent 724e5fe5ce
commit ebfb4c0558
9 files changed
+109 -37

No files matched your search

+1 -1
View File
@@ -1827,7 +1827,7 @@ bool ChatHandler::HandleNpcTameCommand(const char* /*args*/)
CreatureInfo const* cInfo = creatureTarget->GetCreatureInfo();
if (!cInfo->isTameable ())
if (!cInfo->isTameable (player->CanTameExoticPets()))
{
PSendSysMessage (LANG_CREATURE_NON_TAMEABLE,cInfo->Entry);
SetSentErrorMessage (true);