mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 03:11:28 +00:00
Use aabonuses.PetCommands instead of checking AA level
This commit is contained in:
parent
cd2b2c3c19
commit
05dfe748d3
@ -443,7 +443,7 @@ Pet::Pet(NPCType *type_data, Mob *owner, PetType type, uint16 spell_id, int16 po
|
|||||||
if (owner && owner->IsClient()) {
|
if (owner && owner->IsClient()) {
|
||||||
if (!(owner->CastToClient()->ClientVersionBit() & EQ::versions::maskUFAndLater)) {
|
if (!(owner->CastToClient()->ClientVersionBit() & EQ::versions::maskUFAndLater)) {
|
||||||
if ((typeofpet != petFamiliar && typeofpet != petAnimation) ||
|
if ((typeofpet != petFamiliar && typeofpet != petAnimation) ||
|
||||||
GetAA(aaAnimationEmpathy) >= 3) {
|
aabonuses.PetCommands[PET_TAUNT]) {
|
||||||
taunting=true;
|
taunting=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user