Advertisement
coreyblack

Customize to TopLeftBuffListPlugin

Mar 1st, 2017
468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.23 KB | None | 0 0
  1. Hud.RunOnPlugin<TopLeftBuffListPlugin>(plugin => {
  2.                
  3.                 plugin.PositionX = 0.35f; // 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(403471) { IconIndex = null, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = true, DisableName = true}); // Taeguk
  20.                 plugin.RuleCalculator.Rules.Add(new BuffRule(359583) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true}); // Focus
  21.                 plugin.RuleCalculator.Rules.Add(new BuffRule(359583) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true}); // Restraint
  22.                 plugin.RuleCalculator.Rules.Add(new BuffRule(312736) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true}); // MONK Dashing Strike Buff
  23.                 plugin.RuleCalculator.Rules.Add(new BuffRule(97110) { IconIndex = 4, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = true, DisableName = true}); // MONK Assimilation stacks
  24.                 plugin.RuleCalculator.Rules.Add(new BuffRule(208594) { IconIndex = 1, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = true, DisableName = true}); // WD Gruesome Feast
  25.                 plugin.RuleCalculator.Rules.Add(new BuffRule(437711) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true}); // WD 6p Helltooth damage buff
  26.                 plugin.RuleCalculator.Rules.Add(new BuffRule(223473) { IconIndex = null, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, DisableName = true}); // Monk Cyclone Strike
  27.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement