using System;
using System.Collections.Generic;
using System.Text;
using Phoenix;
using Phoenix.WorldData;
namespace Script.Mgr
{
public class Mgr
{
public struct MR
{
public const ushort Keg_t = 0x1843;
public const ushort Keg_c = 0x0005;
public const ushort type = 0x0F09;
public const ushort color = 0x0005;
}
[Command]
public void mgr()
{
int h=50;
int m=8;
UOItem kad;
UOItem lahve;
while (World.Player.Hits>=h)
{
kad = World.Player.Backpack.AllItems.FindType(MR.Keg_t, MR.Keg_c);
lahve = World.Player.Backpack.AllItems.FindType(0x0F0E);
if (World.Player.Mana>=m)
{
UO.WaitTargetSelf();
UO.Cast(StandardSpell.NightSight);
UO.Wait(2500);
}
else
{
lahve.WaitTarget();
UO.UseType(MR.type, MR.color);
kad.Use();
UO.Wait(500);
}
}
}
}
}
Zdravim vsechny a prosim o pomoc s timto scriptem na trenink magery. Postava mi kouzli svetlo dokud mam manu, pak preleje mr, vypije a kouzli dal. Bohuzel kdyz chce potom zas nalit mr do lahve tak mi to napise ze UoType nebyl nalezen...
sipka na sebe + mr
Moderátor: Caleb