public static void U4MoonGen_OnCommand(CommandEventArgs e) { U4MoonGen_DeleteOld(); for (int x = 0; x < 8; x++) { Item felGate = new UltimaMoongate_U4((MoonPhase)x); felGate.MoveToWorld(UltimaMoongate_U4_Gate.MoonPhase2Destination((MoonPhase)x), Map.Felucca); Item tramGate = new UltimaMoongate_U4((MoonPhase)x); tramGate.MoveToWorld(UltimaMoongate_U4_Gate.MoonPhase2Destination((MoonPhase)x), Map.Trammel); } }
public UltimaMoongateTimer(UltimaMoongate_U4 gate, double timerDuration = 20) : base(TimeSpan.FromSeconds(timerDuration)) { m_Gate = gate; Priority = TimerPriority.TwentyFiveMS; }