Alchemy - Lesser Potiont

Datum: 23/04/2013 20:53:25

Staženo: 1073x

Popis:


Hodnocení: 4.3/10 (143 hlasy)

Download file:cs

Příkazy:

  • ,exec alchemy_univerzal_limit

Kód:

using System;
using System.Collections.Generic;
using System.Text;
using Phoenix;
using Phoenix.WorldData;

using System.Linq;


namespace Phoenix.Scripts
{
    public class smoce_dilna
    {


        private const int pocet_regu_po_dokonceni = 2;  // nastavuje , po kolikika NS regu skoncit (nastaveno pro leser pot)
 
 
        [Executable]
        public static void alchemy_univerzal_limit()
        {
        
      
        
            UO.PrintInformation("Univerzal Alchemy Script.");
            UO.Wait(300);
            UO.PrintInformation("Target BAG s regy.");
            UOItem asd = new UOItem(UIManager.TargetObject());
            UO.Wait(500);
            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);

            ushort regy_pamet = regy.Graphic;
        zacatek:

            

            if (UO.Count(regy.Graphic, regy.Color) > pocet_regu_po_dokonceni)
            {
                UO.Print("Mas toho moc u sebe");
                MoveItem(new UOItem(World.Player.Backpack.AllItems.FindType(regy.Graphic, regy.Color)), 0, new UOItem(regy.Container));
                UO.Wait(2000);
            }
            else
            {
                UO.Print("Beru si ");
                UOItem sasdsa = new UOItem(asd.AllItems.FindType(regy_pamet));
                MoveItem(sasdsa, pocet_regu_po_dokonceni, new UOItem(World.Player.Serial));
                UO.Wait(500);
           }

            if (UO.Count(0x0F0E) == 0)
            {
                UO.Print("Neni Lahev");
                UO.Print("Neni Lahev .... vypinam MAKRO !!!");
                UO.TerminateAll();
            }
            else
            {
                UO.Print("Mam Lahev");
            }



            UO.DeleteJournal();
            UOItem sfdsfds = new UOItem(World.Player.Backpack.AllItems.FindType(reggrap, regcol));
             sfdsfds.Use();
            string[] petrolej = { "You toss", "You pour the completed potion into a bottle" };

            Journal.WaitForText(petrolej);
            UO.Wait(500);
            while (UO.Count(potgrap, potcol) > 1)
            {
                UO.Print("Nalezen Potiont, prelivam do Kade");
                UOItem sdsda = new UOItem(World.Player.Backpack.AllItems.FindType(potgrap, potcol));
               
                UO.WaitTargetObject(sdsda.Serial);
                UO.UseType(kad.Graphic,kad.Color); 
                UO.Wait(1000);
            }
            UO.Wait(500);
            goto zacatek;
        }

        private static void MoveItem(UOItem item, int count, UOItem dest)
        {
            if (!item.Exist)
                return;
            ushort tomove = Math.Min((ushort)Math.Abs(count), item.Amount);
            using (ItemUpdateEventWaiter ew = new ItemUpdateEventWaiter(item))
            {
                item.Move(tomove, dest);
                if (ew.Wait(5000))
                    UO.PrintInformation(item.Graphic + " - " + tomove);
                UO.Wait(500);
            }
        }


    }

}

Strana: 1,2,3,4,5,6,7,8,9,10
29 Mar 2023

people play the most. We have developed the system well. megagame สล็อตล่าสุด

23 Mar 2023

Makes players feel that they want to play whenever they can. In addition, it comes with convenience because it สมัคร สล็อต supports playing through all forms of electronic devices, including iPads, tablets, computers, notebooks, or mobile phones that can be used to play games on the web. Just being able to connect to the internet or WIFI can make full money without buying new equipment. You can use your existing mobile phone to play right away. Supports all operating systems IOS or ANDROID can be used to play as well. Even where in the world play slots Wallet to make money on our website for sure. Want to play slots with quality websites Recommended to choose to play xo-wallet, a slot wallet service website that understands players. Therefore providing services with transparency The games on the website are fair because every user has the same right to win the jackpot bonus. No user locks whatsoever.

SEO
07 Feb 2023

I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post.Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks sagame66

SEO
07 Feb 2023

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good workThere is a lot of information here that can help any business get started with a successful social networking campaign. jili slot ทางเข้า

Strana: 1,2,3,4,5,6,7,8,9,10

Nový komentář