I think it was part of this change in Revision 108 in SVN:
Quote:
==10/17/2008
KLS: Tweaks to /pet attack
|
zone/attack.cpp diff:
Code:
@@ -4999,7 +4999,7 @@
if (mypet->IsFeared()) break; //AndMetal: prevent pet from attacking stuff while feared
if((mypet->GetPetType() == petAnimation && GetAA(aaAnimationEmpathy) >= 2) || mypet->GetPetType() != petAnimation) {
- if (mypet->GetHateTop()==0 && target != this && DistNoRootNoZ(*target) <= (RuleR(Pets, AttackCommandRange)*RuleR(Pets, AttackCommandRange))) {
+ if (target != this && mypet->DistNoRootNoZ(*target) <= (RuleR(Pets, AttackCommandRange)*RuleR(Pets, AttackCommandRange))) {
mypet->SetHeld(false); //break the hold and guard if we explicitly tell the pet to attack.
mypet->SetPetOrder(SPO_Follow);
zone->AddAggroMob();
I'm not sure what the intention was behind the change (KLS usually makes those changes for a good reason), although I think we might need more of a Line of Sight check rather than a distance check.