Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.07 KB | None | 0 0
  1. if (ShowCurses)
  2.             {
  3.                 string Curses = null;
  4.                 var test = m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471845);//471845 1   power: Frailty
  5.                 if (test != -1)
  6.                 {
  7.                     Curses += (Curses == null ? "" : " ") + "F";
  8.                 }
  9.                 test = m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471869);//471869 1   power: Leech
  10.                 if (test != -1)
  11.                 {
  12.                     Curses += (Curses == null ? "" : " ") + "L";
  13.                 }
  14.                 test = m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471738);//471738 1   power: Decrepify
  15.                 if (test != -1)
  16.                 {
  17.                     Curses += (Curses == null ? "" : " ") + "D";
  18.                 }
  19.                 if (Curses != null)
  20.                 {
  21.                     var d = LightFont.GetTextLayout(Curses);
  22.                     LightFont.DrawText(d, XPos + 65 + w2, y - py);
  23.                 }
  24.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement