public override void Load(IController hud) { base.Load(hud); SkillPainter = new GLQ_SkillPainter(Hud, true) { TextureOpacity = 0.0f, EnableSkillDpsBar = true, EnableDetailedDpsHint = true, }; }
public override void Load(IController hud) { base.Load(hud); Show = false; ToggleKeyEvent = Hud.Input.CreateKeyEvent(true, Key.F8, false, false, false); LegendaryGemItemIDs = new Dictionary <uint, uint>(); SkillPainter = new GLQ_SkillPainter(Hud, true) { TextureOpacity = 1.0f, EnableSkillDpsBar = true, EnableDetailedDpsHint = true, CooldownFont = Hud.Render.CreateFont("arial", 8, 255, 255, 255, 255, true, false, 255, 0, 0, 0, true), SkillDpsBackgroundBrushesByElementalType = new IBrush[] { Hud.Render.CreateBrush(0, 255, 6, 0, 0), Hud.Render.CreateBrush(0, 183, 57, 7, 0), Hud.Render.CreateBrush(0, 0, 38, 119, 0), Hud.Render.CreateBrush(0, 77, 102, 155, 0), Hud.Render.CreateBrush(0, 50, 106, 21, 0), Hud.Render.CreateBrush(0, 138, 0, 94, 0), Hud.Render.CreateBrush(0, 190, 117, 0, 0), }, SkillDpsFont = Hud.Render.CreateFont("tahoma", 7, 0, 255, 255, 255, false, false, 0, 0, 0, 0, false), }; SkillRatio = 0.025f; KanaiRatio = 0.025f; GemRatio = 0.0166666666666667f; LegendaryGemItemIDs.Add(428348, 3249948847); //Stricken LegendaryGemItemIDs.Add(383014, 3248511367); //BotP LegendaryGemItemIDs.Add(403456, 3248547304); //BotT LegendaryGemItemIDs.Add(403470, 3249805099); //Hoarder LegendaryGemItemIDs.Add(428352, 3250847272); //Boyarskys LegendaryGemItemIDs.Add(403466, 3249661351); //Enforcer LegendaryGemItemIDs.Add(428029, 3249876973); //Esoteric LegendaryGemItemIDs.Add(403459, 3248583241); //Ease LegendaryGemItemIDs.Add(403461, 3248655115); //Toxin LegendaryGemItemIDs.Add(403464, 3248762926); //Gogok LegendaryGemItemIDs.Add(428354, 3250883209); //Iceblink LegendaryGemItemIDs.Add(403465, 3248798863); //Invigoration LegendaryGemItemIDs.Add(403463, 3248726989); //Mirinae LegendaryGemItemIDs.Add(428031, 3249912910); //Gizzard LegendaryGemItemIDs.Add(403467, 3249697288); //Moratorium LegendaryGemItemIDs.Add(428350, 3249984784); //Mutilation LegendaryGemItemIDs.Add(403462, 3248691052); //PE LegendaryGemItemIDs.Add(454736, 3250919146); //Soul Shard LegendaryGemItemIDs.Add(403469, 3249769162); //Simplicitys LegendaryGemItemIDs.Add(403471, 3249841036); //Taeguk LegendaryGemItemIDs.Add(403460, 3248619178); //WoL LegendaryGemItemIDs.Add(403468, 3249733225); //Zeis XOffset = Hud.Window.Size.Width * 0.16f; YOffset = Hud.Window.Size.Width * 0.012f; Gap = Hud.Window.Size.Width * 0.012f; DrawGems = true; DrawKanai = true; DrawSkills = true; ElementOrder = new List <int>(new int[] { 0, 1, 2 }); }