Stránka 1 z 1

Alchemka

Napsal: 07 srp 2010 16:46
od Smoce
Tomu komu jde tak jde, komu nejde má hold smůlu :-)
Target na regy, kad , hotovej potiont .... víz. už dělá samo

Kód: Vybrat vše

  [Executable]
        public static void alchemy()
        {
            UO.PrintInformation("Univerzal Alchemy Script.");
            UO.Wait(300);
            UO.PrintInformation("Target Regy.");
            UOItem regy = new UOItem(UIManager.TargetObject());
            UO.Wait(500);
            UO.PrintInformation("Target Kad.");
            UOItem kad = new UOItem(UIManager.TargetObject());
            UO.Wait(500);
            UO.PrintInformation("Target hotovej potiont.");
            UOItem pot = new UOItem(UIManager.TargetObject());
            UO.Wait(500);

            Graphic reggrap = regy.Graphic;
            UOColor regcol = regy.Color;

            Graphic potgrap = pot.Graphic;
            UOColor potcol = pot.Color;

            UO.Print("Dej si do baglu kad , minimalne 2 lahvicky a regy.");
            UO.Wait(1000);
        zacatek:
            if (UO.Count(0x0F0E) == 0)
            {
                UO.Print("Neni Lahev");
                UO.Print("Neni Lahev .... vypinam MAKRO !!!");
                UO.TerminateAll();
            }  
               while (UO.Count(potgrap, potcol) > 1)  
               {  
 

                UO.Print("Nalezen Potiont, prelivam do Kade");
                kad.Use();
                UO.WaitTargetType(potgrap, potcol);
                UO.Wait(1000);

            } 

 
            UO.DeleteJournal();
            UO.UseType(reggrap, regcol);
            string[] petrolej = { "You toss","You pour the completed potion into a bottle"};
           
                Journal.WaitForText(petrolej);
                UO.Wait(500);


                goto zacatek;
        }

Re: Alchemka

Napsal: 21 srp 2010 11:06
od Sneh
pls mohol by si mi hodit script, resp. cast scriptu na capovanie potionu z kade?

thx

Re: Alchemka

Napsal: 21 srp 2010 15:48
od Wizzy
Sneh píše:pls mohol by si mi hodit script, resp. cast scriptu na capovanie potionu z kade?

thx
http://www.darkparadise.cz/Forum/viewto ... =67&t=4125

Re: Alchemka

Napsal: 22 srp 2010 00:01
od Sneh
Wizzy píše:
Sneh píše:pls mohol by si mi hodit script, resp. cast scriptu na capovanie potionu z kade?

thx
http://www.darkparadise.cz/Forum/viewto ... =67&t=4125
vdaka!