public void PotenOpen(int x, int y) { EventGeneration.MouseClick(455, 345, MouseValue.Left, 100); Thread.Sleep(150); EventGeneration.MouseClick(EventGeneration.GetInventoryPointX(y), EventGeneration.GetInventoryPointY(x), MouseValue.Left, 100); Thread.Sleep(200); }
public void Synthesis(int x1, int y1, int x2, int y2) { EventGeneration.MouseClick(EventGeneration.GetInventoryPointX(y1), EventGeneration.GetInventoryPointY(x1), MouseValue.Left, 100); Thread.Sleep(170); EventGeneration.MouseClick(slot1_x, slot1_y, MouseValue.Left, 100); Thread.Sleep(170); EventGeneration.MouseClick(EventGeneration.GetInventoryPointX(y2), EventGeneration.GetInventoryPointY(x2), MouseValue.Left, 100); Thread.Sleep(170); EventGeneration.MouseClick(slot2_x, slot2_y, MouseValue.Left, 100); Thread.Sleep(170); EventGeneration.MouseClick(enter_x, enter_y, MouseValue.Left, 100); Thread.Sleep(200); EventGeneration.KeybdEvent(0x0D, 100); Thread.Sleep(7000); EventGeneration.KeybdEvent(0x0D, 100); Thread.Sleep(190); }