///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: Arrow and Attack 3 second // ///////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Text; using Phoenix; using Phoenix.WorldData; using System.Linq; using Phoenix.Communication; using Phoenix.Runtime; using Phoenix.Runtime.Reflection; namespace Scripts.DarkParadise { public class ultima_smoce_net_1779630833 {private int statistikas = 0; [Executable] public void ivoshg() { UO.Print(0x0435, "Zvol attackovaneho hrace"); UOCharacter hrac = new UOCharacter(UIManager.TargetObject()); UO.AddObject("attack_hrac", hrac); UO.Cast("Magic Arrow", hrac.Serial); UO.Wait(2000); while (hrac.Hits > 10) { UO.Attack(hrac.Serial); UO.Wait(3000); statistikas++; } UO.Print("Info: {0}", "Zvoleny hrac nema zivoty!!"); UO.Print("Statistiky: {0} - {1}", "Sipka vhozena",statistikas.ToString()); } } }