Don't allow to summon dead hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/92fc09b1b5507c11c9e7ca63e6de0ec7574f0810)
This commit is contained in:
@@ -123,4 +123,23 @@ namespace Framework.Constants
|
||||
CantControlExotic = 11, // "you are unable to control exotic creatures"
|
||||
InternalError = 12, // "Internal pet error"
|
||||
}
|
||||
|
||||
public enum PetTameResult
|
||||
{
|
||||
Ok = 0,
|
||||
InvalidCreature = 1,
|
||||
TooMany = 2,
|
||||
CreatureAlreadyOwned = 3,
|
||||
NotTameable = 4,
|
||||
AnotherSummonActive = 5,
|
||||
UnitsCantTame = 6,
|
||||
NoPetAvailable = 7,
|
||||
InternalError = 8,
|
||||
TooHighLevel = 9,
|
||||
Dead = 10,
|
||||
NotDead = 11,
|
||||
CantControlExotic = 12,
|
||||
InvalidSlot = 13,
|
||||
EliteTooHighLevel = 14
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user