Add a 8px offset to healthbars, might help against blocking out faraway monsters.

This commit is contained in:
Mari the Deer 2023-11-19 20:10:39 +01:00
commit 319d967d39
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1007 \cu(Sun 19 Nov 16:35:26 CET 2023)\c-";
SWWM_SHORTVER="\cw1.3pre r1007 \cu(2023-11-19 16:35:26)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1008 \cu(Sun 19 Nov 20:10:39 CET 2023)\c-";
SWWM_SHORTVER="\cw1.3pre r1008 \cu(2023-11-19 20:10:39)\c-";

View file

@ -177,7 +177,7 @@ extend Class SWWMStatusBar
double df = 1.-(clamp((dist-fadedist)/fadedist,0.,.5)*2.);
alph *= df;
}
Vector2 barpos = vpos-(27,7);
Vector2 barpos = vpos-(27,15);
if ( drawvalues )
{
String val = String.Format("%d %d",ct.maxhealth,ct.maxhealth);
@ -256,7 +256,7 @@ extend Class SWWMStatusBar
double fin = clamp(ct.fadein+fractic,0.,5.)/5.;
double fout = clamp(ct.lifespan-fractic,0.,25.)/25.;
double alph = fin*fout;
Vector2 barpos = vpos-(27,7);
Vector2 barpos = vpos-(27,15);
Font fnt = swwm_bigtags?mSmallFontOutline:mTinyFontOutline;
int col = Font.CR_WHITE;
if ( teamplay )