Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (ShowCurses)
- {
- string Curses = null;
- var test = m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471845);//471845 1 power: Frailty
- if (test != -1)
- {
- Curses += (Curses == null ? "" : " ") + "F";
- }
- test = m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471869);//471869 1 power: Leech
- if (test != -1)
- {
- Curses += (Curses == null ? "" : " ") + "L";
- }
- test = m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471738);//471738 1 power: Decrepify
- if (test != -1)
- {
- Curses += (Curses == null ? "" : " ") + "D";
- }
- if (Curses != null)
- {
- var d = LightFont.GetTextLayout(Curses);
- LightFont.DrawText(d, XPos + 65 + w2, y - py);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement