mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
@@ -9035,7 +9035,7 @@ namespace Acore
|
|||||||
if (!target->ToGameObject()->IsInRange(_position->GetPositionX(), _position->GetPositionY(), _position->GetPositionZ(), _range))
|
if (!target->ToGameObject()->IsInRange(_position->GetPositionX(), _position->GetPositionY(), _position->GetPositionZ(), _range))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (!target->IsInDist(_position, _range))
|
else if (!target->IsWithinDist3d(_position, _range))
|
||||||
return false;
|
return false;
|
||||||
else if (target->GetTypeId() == TYPEID_UNIT && target->ToCreature()->IsAvoidingAOE()) // pussywizard
|
else if (target->GetTypeId() == TYPEID_UNIT && target->ToCreature()->IsAvoidingAOE()) // pussywizard
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user