DarkSkull

Datum: 22/11/2014 23:29:55

Staženo: 275x

Popis:

dělal jsem specialně pro raxika :P


Hodnocení: 2.8/10 (68 hlasy)

Download file:cs

Příkazy:

  • ,exec darkskull

Kód:

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

namespace Phoenix.Scripts
{
    public class Nekromancer
    {
  


[Executable]
        public void DarkSkull()
        {
            if (World.Player.Backpack.AllItems.Count(0x1F0B) > 0)
            {
                UOItem skull = World.Player.Backpack.AllItems.FindType(0x1F0B);
                using (ItemUpdateEventWaiter ew = new ItemUpdateEventWaiter(skull)) {
                               UO.UseObject(World.Player.Serial);
                    UO.Wait(50);
                    skull.Use();
                    if (!ew.Wait(5000))
                    {
                        ScriptErrorException.Throw("Nemuzu oblect Dark skull, konec scriptu.");
                        return;
                    }
                    UO.Say(0x042E,World.Player.Name +" IVM prosim");
                    UO.Wait(100);
                    UOCharacter jezditko = new UOCharacter(Aliases.GetObject("konicek_nasedani"));
                    if (jezditko.Exist)
                    {
                        jezditko.Use();
                    }
                    else 
                    {
                        UO.Print("Jezditko nebylo nastaveno !");
                        
                    }
                            }
            }
            else
            {
                UO.PrintObject(World.Player.Serial, 0x0025, "Nemas Dark Skull");
            }
            if (World.Player.Backpack.AllItems.Count(0x1451) > 0)
            {
                UOItem skull = World.Player.Backpack.AllItems.FindType(0x1451);
                using (ItemUpdateEventWaiter ew = new ItemUpdateEventWaiter(skull)) {
                                skull.Use();
                                if (!ew.Wait(5000)) {
                                    ScriptErrorException.Throw("Nemuzu oblect necro helmu, konec scriptu.");
                                    return;
                                }
                            }
            }
            else
            {
                UO.PrintObject(World.Player.Serial, 0x0025, "Nemas necro helmu");
            }
        }
    }
}
Roast Lamb
18 Oct 2025

Discover crypto-friendly slot sites for fast, private deposits and withdrawals. » สล็อตpg » พีจีสล๊อต » สล็อตแตกง่ายแตกดีในพีจี » ค่ายดังเด่นพีจี

Nový komentář