mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Pets: Water Elementals are now permanent pets
This commit is contained in:
@@ -1720,6 +1720,8 @@ bool Pet::IsPermanentPetFor(Player* owner)
|
||||
return GetCreatureInfo()->type == CREATURE_TYPE_DEMON;
|
||||
case CLASS_DEATH_KNIGHT:
|
||||
return GetCreatureInfo()->type == CREATURE_TYPE_UNDEAD;
|
||||
case CLASS_MAGE:
|
||||
return GetCreatureInfo()->type == CREATURE_TYPE_ELEMENTAL;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user