Hi, i added auto hunt dracarys and i saw that this sistem is for only attacking mobs, i changed isEnemy to IsStone to attack stones buut i saw that this sistem take GetTargetVID and when a metin is destroyed he don;t go to another metin for some time, but when the character attack the stone and i will click on another mob around me he goes to new metin stone.
so what should i change here for not taking GetTargetVID but the next metin
const DWORD targetPlayerVID = rkPlayer.GetTargetVID();
D3DXVECTOR3 v3Movement, c_v3Dst;
TPixelPosition targetPos;
std::vector<std::pair<CInstanceBase*, float>> m_vecVictimList;
for (TCharacterInstanceMap::iterator itor = m_kAliveInstMap.begin(); itor != m_kAliveInstMap.end(); ++itor)
{
CInstanceBase* pkVictim = itor->second;
if (pkVictim == pkInstMain || pkVictim->IsDead() || pkVictim->GetVirtualID() == targetPlayerVID || !pkVictim->IsStone())
continue;