Advertisement
coreyblack

Customize to TopRightBuffListPlugin

Mar 1st, 2017
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.92 KB | None | 0 0
  1. Hud.RunOnPlugin<TopRightBuffListPlugin>(plugin => {
  2.                
  3.                 plugin.PositionX = 0.62f; // Change this to adjust buffbar left or right
  4.                 plugin.PositionY = 0.01f; // Change this to adjust buffbar up or down
  5.    
  6.  
  7.                 plugin.BuffPainter = new BuffPainter(Hud, true)
  8.                 {
  9.                 Opacity = 1.00f,
  10.                 ShowTimeLeftNumbers = true,
  11.                 ShowTooltips = false,
  12.                
  13.                 TimeLeftFont = Hud.Render.CreateFont("tahoma", 15, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true), // 12 size default Timeleft font, you can adjust it
  14.                 StackFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true), // 9 size default Stacks font, you can adjust it
  15.                 };
  16.                
  17.                 plugin.RuleCalculator.SizeMultiplier = 1.20f;
  18.  
  19.                 plugin.RuleCalculator.Rules.Add(new BuffRule(79528) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // BARB Ignore Pain
  20.                 plugin.RuleCalculator.Rules.Add(new BuffRule(402458) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Ingeom
  21.                 plugin.RuleCalculator.Rules.Add(new BuffRule(263029) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Conduit
  22.                 plugin.RuleCalculator.Rules.Add(new BuffRule(403404) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Conduit in tiered rift
  23.                 plugin.RuleCalculator.Rules.Add(new BuffRule(278269) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Enlightened
  24.                 plugin.RuleCalculator.Rules.Add(new BuffRule(030477) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Enlightened
  25.                 plugin.RuleCalculator.Rules.Add(new BuffRule(278271) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Frenzied
  26.                 plugin.RuleCalculator.Rules.Add(new BuffRule(030479) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Frenzied
  27.                 plugin.RuleCalculator.Rules.Add(new BuffRule(278270) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Fortune
  28.                 plugin.RuleCalculator.Rules.Add(new BuffRule(030478) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Fortune
  29.                 plugin.RuleCalculator.Rules.Add(new BuffRule(278268) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Blessed
  30.                 plugin.RuleCalculator.Rules.Add(new BuffRule(030476) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Blessed
  31.                 plugin.RuleCalculator.Rules.Add(new BuffRule(266258) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Channeling
  32.                 plugin.RuleCalculator.Rules.Add(new BuffRule(266254) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Shield
  33.                 plugin.RuleCalculator.Rules.Add(new BuffRule(262935) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Power
  34.                 plugin.RuleCalculator.Rules.Add(new BuffRule(266271) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Speed
  35.                 plugin.RuleCalculator.Rules.Add(new BuffRule(260349) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Empowered
  36.                 plugin.RuleCalculator.Rules.Add(new BuffRule(260348) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true }); // Fleeting
  37.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement