So LOOT and KILL cases (not working) :
case LOOT:
GroundItem cowhide = groundItems.closest("Cowhide");
if(cowhide != null && !myPlayer().isAnimating() && !myPlayer().isUnderAttack()
) {
log("Picking up hides!...");
cowhide.interact("Take");
return random(100, 200);
} else {
camera.toEntity(cowhide);
}
case KILL:
NPC cow = npcs.closest("Cow","Cow calf");
if ((cow != null) && (cow.isAttackable())) {
log("Attacking the Cow!...");
cow.interact("Attack");
break;
} else {
camera.toEntity(cow);
}
Would it be possible to combine these two, result being, after it attacks the cow it waits for the drop to show up on the ground, LOOT the cowhide and only then move on to the next cow. Being trying to get things to work for 2days non stop, seriously low gains. ;D