mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 12:22:39 +01:00
Core/PetAI: Fix pet's self-jumping
Fix issue, when pet autocast leap-like spells on itself
This commit is contained in:
@@ -182,7 +182,8 @@ void PetAI::UpdateAI(const uint32 diff)
|
||||
spellUsed = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (spellInfo->HasEffect(SPELL_EFFECT_JUMP_DEST))
|
||||
continue; //pets must jump only to target
|
||||
// No enemy, check friendly
|
||||
if (!spellUsed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user