Podle toho co máte v ruce, vyndá střelivo.
,exec VyndaniStreliva
Kód: Vybrat vše
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix;
using Phoenix.WorldData;
using Phoenix.Communication;
namespace Phoenix.Scripts.Rod
{
public class souboj
{
public static List<UOItem> zbrane=new List<UOItem>();
[Executable]
public void VyndaniStreliva()
{
if (World.Player.Layers[Layer.LeftHand].Graphic == 0x13B1)
{
UO.UseType(0x1EA0, 0x0747);
}
if (World.Player.Layers[Layer.LeftHand].Graphic == 0x2D1F || World.Player.Layers[Layer.LeftHand].Graphic == 0x0F4F || World.Player.Layers[Layer.LeftHand].Graphic == 0x26C3 || World.Player.Layers[Layer.LeftHand].Graphic == 0x13FC)
{
UO.UseType(0x1EA0, 0x083A);
}
}
}
}