Necro-Přeměna roby při summu 2
Datum: 27/07/2011 13:22:35
Staženo: 482x
Popis:
Na target jinak stejné jak 1 verze
Příkazy:
- ,exec necrohlava
- ,roby "string summon" " int timer"
- ,robys
Kód:
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix;
using Phoenix.WorldData;
using Phoenix.Communication;
namespace Phoenix.Plugins
{
public static partial class Commandssdsadas
{
[Command("roby")]
public static void robese(string summon, int timer)
{//by smoce
UOItem robes1 = new UOItem(Aliases.GetObject("robe1"));
UOItem robes2 = new UOItem(Aliases.GetObject("robe2"));
UO.PrintInformation("Predelavam robku a kouzlim Summona:" + summon + " ");
robes1.Use();
UO.Wait(50);
UO.Print(0x0480, "Summon Creature: " + summon);
UO.SummonCreature(summon);
UO.Wait(timer);
robes2.Use();
UO.Wait(50);
UO.PrintInformation("Hotovo roba zpet.");
}
[Command("robys")]
public static void robess()
{//by smoce
UO.Print(0x00B3, "Musis zvolit Robky 1 a 2");
UO.Wait(100);
UO.Print(0x0435, "Vyber robe 1");
UOCharacter aaw = new UOCharacter(UIManager.TargetObject());
UO.AddObject("robe1", aaw);
UO.Wait(200);
UO.Print(0x0435, "Vyber robe 2");
UOCharacter aw = new UOCharacter(UIManager.TargetObject());
UO.AddObject("robe2", aw);
UO.Wait(200);
UO.Print(0x00B3, "OKej robky byli zvolene...");
}
[Executable]
public static void necrohlava()
{
UO.Say("Xarx heal/boost prosim");
UO.UseType(0x1F0B);
UO.Wait(500);
UO.UseType(0x1451);
}
}
}

