///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: ArmsLore // ///////////////////////////////////////////////////////////////////////// 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_1779634781 {[Executable] public void ArmsLore() { while (!World.Player.Dead) { using (JournalEventWaiter waiter = new JournalEventWaiter(true, "It is repairable.")) { UO.Print("Arms Lore ..."); UO.WaitTargetObject(Aliases.GetObject("cil")); UO.UseSkill("Arms Lore"); UO.Wait(500); if (!waiter.Wait(10000)) UO.PrintWarning("Waiting for Skill timeout."); } } } } }