mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
Core/Pets: use a better way to handle Paladin Guardians classification
This commit is contained in:
@@ -308,7 +308,7 @@ void Minion::RemoveFromWorld()
|
||||
|
||||
bool Minion::IsGuardianPet() const
|
||||
{
|
||||
return IsPet() || IsGuardian() || (m_Properties && m_Properties->Category == SUMMON_CATEGORY_PET);
|
||||
return IsPet() || (m_Properties && m_Properties->Category == SUMMON_CATEGORY_PET);
|
||||
}
|
||||
|
||||
bool Minion::IsWarlockMinion() const
|
||||
|
||||
@@ -854,6 +854,7 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
|
||||
case CLASS_DEATH_KNIGHT:
|
||||
case CLASS_MAGE:
|
||||
case CLASS_PRIEST:
|
||||
case CLASS_PALADIN:
|
||||
petType = SUMMON_PET;
|
||||
break;
|
||||
case CLASS_HUNTER:
|
||||
|
||||
Reference in New Issue
Block a user