void CInstanceBase::UpdateTextTailLevel(DWORD level)
{
D3DXCOLOR s_kLevelColor;
char szText[256];
if (level > 120) {
int adjustedLevel = level - 120;
s_kLevelColor = D3DXCOLOR(135.0f/255.0f, 206.0f/255.0f, 235.0f/255.0f, 1.0f);
sprintf(szText, "Lv +%d", adjustedLevel);
} else {
s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);
sprintf(szText, "Lv %d", level);
}
CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
}