private void attack() {
   if (MyPlayer.interacting() == null && !MyPlayer.inCombat()) {
     Enemy.setNPC(MyPlayer.currentRoom().getNearestNpc(".*goblin geoman.*"));
     MyMovement.turnTo(Enemy.getNPC());
     Enemy.interact("attack");
   }
 }
 @Override
 public boolean isValid() {
   return MyPlayer.currentRoom().getNearestNpc(".*goblin geoman.*") != null;
 }