public void Customize() { Hud.RunOnPlugin <DoorsPlugin>(plugin => plugin.ShowInTown = true); Hud.RunOnPlugin <DangerousAffixMonsterPlugin>(plugin => { plugin.Affixes.Clear(); }); using (var alertListsConfigurator = new AlertListsConfigurator()) { alertListsConfigurator.Configure(Hud); } Enabled = false; }
public void Customize() { //Says.Debug("J2 {0} {1}", "Customize", Order); //Hud.RunOnPlugin<Gigi.PartyBuffPlugin>(plugin => //{ // ISnoPower[] ev = Hud.Sno.AllSnoPower.ToArray(); // plugin.DisplayOnAll(ev); //}); Hud.RunOnPlugin <Jack.Actors.DoorsPlugin>(plugin => plugin.ShowInTown = true); //Hud.RunOnPlugin<Jack.Actors.DoorsPlugin>(plugin => //{ // plugin.BridgesDecorators.ToggleDecorators<GroundLabelDecorator>(false); // plugin.DoorsDecorators.ToggleDecorators<GroundLabelDecorator>(false); // plugin.BreakablesDoorsDecorators.ToggleDecorators<GroundLabelDecorator>(false); //}); //Hud.RunOnPlugin<DangerousAffixMonsterPlugin>(plugin => { plugin.Affixes.Clear(); }); using (var alertListsConfigurator = new AlertListsConfigurator()) { alertListsConfigurator.Configure(Hud); } Hud.RunOnPlugin <Jack.Items.WeaponDamageRerollCalculatorPlugin>(plugin => { plugin.RerollLabel = "Reroll"; plugin.DpsLabel = "Dps"; plugin.RangeLabel = "Range"; plugin.DamagePercentLabel = "Dmg %"; plugin.AttackSpeedLabel = "AS %"; plugin.PerfectLabel = "Perfect"; plugin.LineFormat = "{0}\t {1}"; plugin.DpsFormat = "N1"; plugin.NumberFormat = System.Globalization.NumberFormatInfo.InvariantInfo; plugin.ActiveFont = Hud.Render.CreateFont("tahoma", 7, 255, 154, 105, 24, true, false, 128, 0, 0, 0, true); plugin.InactiveFont = Hud.Render.CreateFont("tahoma", 7, 128, 154, 105, 24, true, false, 128, 0, 0, 0, true); plugin.RerollMaxedFont = Hud.Render.CreateFont("tahoma", 7, 255, 24, 192, 24, true, false, 128, 0, 0, 0, true); plugin.LeftFunc = () => { var uicMain = Hud.Inventory.GetHoveredItemMainUiElement(); return(uicMain.Rectangle.X + uicMain.Rectangle.Width * 0.69f); }; plugin.TopFunc = () => { var uicTop = Hud.Inventory.GetHoveredItemTopUiElement(); return(uicTop.Rectangle.Bottom + (75f / 1200.0f * Hud.Window.Size.Height)); }; }); /////////// // ITEMS // /////////// //Hud.RunOnPlugin<DefaultOverride.Items.ItemsPlugin>(plugin => //{ // //itemsPlugin.NormalKeepDecorator.Enabled = true; // //itemsPlugin.MagicKeepDecorator.Enabled = true; // //itemsPlugin.RareKeepDecorator.Enabled = true; // plugin.DeathsBreathDecorator.Add(new GroundCircleDecorator(Hud) // { // Brush = Hud.Render.CreateBrush(192, 102, 202, 177, -2), // Radius = 1.25f, // }); //}); //Hud.RunOnPlugin<Grischu.BuffStatistic.BuffStatistics>(plugin => //{ // //plugin.Enabled = false; // Says.Debug(1); // plugin.AddBuff(403464, 1, "Gogok"); // Says.Debug(2); // plugin.AddBuff(359583, 1, "Focus"); // plugin.AddBuff(359583, 2, "Restraint"); // plugin.XPos = Hud.Window.Size.Width * 0.8f; // plugin.YPos = Hud.Window.Size.Height * 0.5f; //}); //Hud.RunOnPlugin<TopTableSamplePlugin>(plugin => //{ // var col = 0; // //plugin.Table.Lines.Sort((a, b) => // //{ // // var t = -a.Cells[col].TextFunc(a.Position, col, 0, 0).CompareTo(b.Cells[col].TextFunc(b.Position, col, 0, 0)); // // Says.Debug(t); // // return t; // //}); // //plugin.Table.Lines.Reverse(); // plugin.Table.Sort(2, false); //}); //Hud.RunOnPlugin<StandardMonsterPlugin>(plugin => //{ // plugin.EliteChampionDecorator.GetDecorators<MapShapeDecorator>().ForEach(d => d.Radius = 8f); //}); Enabled = false; }