Core/Pets: Water Elementals are now permanent pets
This commit is contained in:
@@ -1764,6 +1764,8 @@ bool Pet::IsPermanentPetFor(Player* owner)
|
|||||||
return GetCreatureInfo()->type == CREATURE_TYPE_DEMON;
|
return GetCreatureInfo()->type == CREATURE_TYPE_DEMON;
|
||||||
case CLASS_DEATH_KNIGHT:
|
case CLASS_DEATH_KNIGHT:
|
||||||
return GetCreatureInfo()->type == CREATURE_TYPE_UNDEAD;
|
return GetCreatureInfo()->type == CREATURE_TYPE_UNDEAD;
|
||||||
|
case CLASS_MAGE:
|
||||||
|
return GetCreatureInfo()->type == CREATURE_TYPE_ELEMENTAL;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user