Code:
Energy_Bad = 0.4f;
Energy_Message = "Fury : "; // message in the energy bar
FistofHeaven_Min = 4; // change font color when smaller than this value
// position, x y will become offset value if true on char
showOnChar = true;
xPos = 60;
yPos = -20;
barH = Hud.Window.Size.Height * 14 / 1080; // size of energy bar
barW = Hud.Window.Size.Width * 120 / 1920; // size of energy bar
iconSize = Hud.Window.Size.Height * 40 / 1080; // size of icon
Font_Norm = Hud.Render.CreateFont("arial", 7, 255, 255, 255, 255, false, false, true);
Font_Good = Hud.Render.CreateFont("arial", 9, 255, 51, 255, 51, true, false, 255, 0, 0, 0, true);
Font_Warm = Hud.Render.CreateFont("arial", 9, 255, 255, 51, 51, true, false, 255, 0, 0, 0, true);
// Brush for energy bar
Brush_EnergyGood = Hud.Render.CreateBrush(240, 51, 255, 51, 0);
Brush_EnergyBad = Hud.Render.CreateBrush(240, 255, 51, 51, 0);
Brush_BG = Hud.Render.CreateBrush(240, 204, 204, 204, 0);
// decorator of fist of heaven
FistofHeaven_Decorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud) {
Brush = Hud.Render.CreateBrush(102, 204, 204, 51, 0),
Radius = 5,
}
);