mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[8889] Allow non-permanent pets have auras from spell_pet_auras.
Also add one from related cases to DB.
This commit is contained in:
parent
01c852fee8
commit
fe70af7b5d
4 changed files with 7 additions and 5 deletions
|
|
@ -1882,9 +1882,6 @@ void Pet::CastPetAuras(bool current)
|
|||
if(!owner || owner->GetTypeId()!=TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
if(!IsPermanentPetFor((Player*)owner))
|
||||
return;
|
||||
|
||||
for(PetAuraSet::const_iterator itr = owner->m_petAuras.begin(); itr != owner->m_petAuras.end();)
|
||||
{
|
||||
PetAura const* pa = *itr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue