if (ShowCurses) {
string Curses = null;
if (m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471845) == 1) //471845 1 power: Frailty
Curses += (Curses == null ? "" : " ") + "F";
if (m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 471869) == 1) //471869 1 power: Leech
Curses += (Curses == null ? "" : " ") + "L";
if (m.GetAttributeValue(Hud.Sno.Attributes.Power_Buff_2_Visual_Effect_None, 47173
== 1) //471738 1 power: Decrepify
Curses += (Curses == null ? "" : " ") + "D";
if (Curses != null) { d += ((d != string.Empty)? " | ":"") + Curses ; }
}
if (d != string.Empty) { LightFont.DrawText(LightFont.GetTextLayout(d), XPos + 65 + w2, y - py); }
//Draw Rectangles
BackgroundBrush.DrawRectangle(XPos, y, w2, h);
BorderBrush.DrawRectangle(XPos, y, w2, h);
cBrush.DrawRectangle(XPos, y, (float)w, h);
LightFont.DrawText(per, XPos + 8 + w2, y - py);
//Draw MonsterType
if (ShowMonsterType){
var name = cFont.GetTextLayout(m.SnoMonster.NameLocalized);
cFont.DrawText(name, XPos + 3, y - py);
}