Use aabonuses.PetCommands instead of checking AA level

This commit is contained in:
Noudess 2020-09-08 19:10:48 -04:00
parent cd2b2c3c19
commit 05dfe748d3

View File

@ -443,7 +443,7 @@ Pet::Pet(NPCType *type_data, Mob *owner, PetType type, uint16 spell_id, int16 po
if (owner && owner->IsClient()) {
if (!(owner->CastToClient()->ClientVersionBit() & EQ::versions::maskUFAndLater)) {
if ((typeofpet != petFamiliar && typeofpet != petAnimation) ||
GetAA(aaAnimationEmpathy) >= 3) {
aabonuses.PetCommands[PET_TAUNT]) {
taunting=true;
}
}