Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/de4eaa0de9565da604fa3b6e2b4b59efe117fd7a)
This commit is contained in:
@@ -2198,4 +2198,24 @@ namespace Framework.Constants
|
||||
ContentTuningPvpLevelDamageScaling = 14,
|
||||
ContentTuningPvpItemLevelDamageScaling = 15,
|
||||
}
|
||||
|
||||
public enum BattlePetSpeciesFlags : ushort
|
||||
{
|
||||
NoRename = 0x01,
|
||||
WellKnown = 0x02,
|
||||
NotAccountWide = 0x04,
|
||||
Capturable = 0x08,
|
||||
NotTradable = 0x10,
|
||||
HideFromJournal = 0x20,
|
||||
LegacyAccountUnique = 0x40,
|
||||
CantBattle = 0x80,
|
||||
HordeOnly = 0x100,
|
||||
AllianceOnly = 0x200,
|
||||
Boss = 0x400,
|
||||
RandomDisplay = 0x800,
|
||||
NoLicenseRequired = 0x1000,
|
||||
AddsAllowedWithBoss = 0x2000,
|
||||
HideUntilLearned = 0x4000,
|
||||
MatchPlayerHighPetLevel = 0x8000
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace Framework.Constants
|
||||
/// </summary>
|
||||
public const int MaxBattlePetSpeciesId = 3159;
|
||||
public const int MaxPetBattleSlots = 3;
|
||||
public const int MaxBattlePetsPerSpecies = 3;
|
||||
public const int DefaultMaxBattlePetsPerSpecies = 3;
|
||||
public const int BattlePetCageItemId = 82800;
|
||||
public const int DefaultSummonBattlePetSpell = 118301;
|
||||
|
||||
@@ -2823,4 +2823,18 @@ namespace Framework.Constants
|
||||
|
||||
All = 0xFF
|
||||
}
|
||||
|
||||
public enum BattlePetDbFlags : ushort
|
||||
{
|
||||
None = 0x00,
|
||||
Favorite = 0x01,
|
||||
Converted = 0x02,
|
||||
Revoked = 0x04,
|
||||
LockedForConvert = 0x08,
|
||||
Ability0Selection = 0x10,
|
||||
Ability1Selection = 0x20,
|
||||
Ability2Selection = 0x40,
|
||||
FanfareNeeded = 0x80,
|
||||
DisplayOverridden = 0x100
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user