Ejemplo n.º 1
0
 public override void DoWork()
 {
     GrindingEngine.Navigator.Stop();
     MoveHelper.MoveToLoc(_npc.Location, 5);
     VendorManager.DoSell(_npc);
     Logging.Write("[Vendor]Vendor done");
     GrindingEngine.Navigator.Stop();
     GrindingEngine.Navigation = new GrindingNavigation(GrindingEngine.CurrentProfile);
     ToTown.SetToTown(false);
 }
Ejemplo n.º 2
0
 public override void DoWork()
 {
     FlyingEngine.Navigator.Stop();
     if (ApproachPosFlying.Approach(_npc.Location, 12))
     {
         MoveHelper.MoveToLoc(_npc.Location, 5);
         VendorManager.DoSell(_npc);
     }
     FlyingBlackList.Blacklist(_npc, 200, true);
     Logging.Write("[Vendor]Vendor done");
 }