HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Hi
I have a problem that does not show the comrade level
http://prntscr.com/o4naa0
char.cpp
InstanceBaseEffect.cpp
Please help me find the solution
I have a problem that does not show the comrade level
http://prntscr.com/o4naa0
char.cpp
Kod:
#ifdef NEW_PET_SYSTEM
if (IsPet() || IsSupport() || IsNewPet())
#else
if (IsPet())
#endif
{
pack.bMovingSpeed = 200;
}
InstanceBaseEffect.cpp
Kod:
void CInstanceBase::UpdateTextTailLevel(DWORD level)
{
static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);
char szText[256];
#ifdef NEW_PET_SYSTEM
static D3DXCOLOR s_kPetLevelColor = D3DCOLOR_XRGB(255, 255, 0);
if(IsNewPet())
{
sprintf(szText, "Lv %d", level);
CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kPetLevelColor);
}
else{
sprintf(szText, "Lv %d", level);
CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
}
#else
sprintf(szText, "Lv %d", level);
CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
#endif
}
Please help me find the solution
