401402403404405406407408409410411
} if(actor.isInRange(target, 30) && Math.abs(actor.getZ() - target.getZ()) < 50) { if(actor.isPlayer() || actor.isPet()) { actor.doPickupItem(target); } setIntention(AI_INTENTION_ACTIVE); } else {