//Wizkidz
if ( ZGetGameTypeManager()->IsQuestDerived( ZGetGame()->GetMatch()->GetMatchType()))
{
bool bDraw = m_Observer.IsVisible();
ZCharacterManager::iterator itor = ZGetGame()->m_CharacterManager.find( pItem->uidUID);
if ( itor != ZGetGame()->m_CharacterManager.end())
{
ZCharacter* pQuestPlayerInfo = (*itor).second;
if (pQuestPlayerInfo->GetTeamID() != ZGetGame()->m_pMyCharacter->GetTeamID()) {
continue;
}
MCOLOR tmpColor = pDC->GetColor();
x=ITEM_XPOS[2];
bDraw = true;
pDC->SetColor( MCOLOR( 0x30000000));
pDC->FillRectangleW( (x*MGetWorkspaceWidth()), texty*MGetWorkspaceHeight()+1, 0.08*MGetWorkspaceWidth(), 7);
float nValue = (0.08 * (pQuestPlayerInfo->GetHP() / pQuestPlayerInfo->GetMaxHP()));
pDC->SetColor( MCOLOR( 0xFFFF0000));
pDC->FillRectangleW( (x*MGetWorkspaceWidth()), texty*MGetWorkspaceHeight()+1, nValue*MGetWorkspaceWidth(), 7);
pDC->SetColor( MCOLOR( 0x30000000));
pDC->FillRectangleW( (x*MGetWorkspaceWidth()), texty*MGetWorkspaceHeight()+9, 0.08*MGetWorkspaceWidth(), 3);
float nValuee = (0.08 * (pQuestPlayerInfo->GetAP() / pQuestPlayerInfo->GetMaxAP()));
pDC->SetColor( MCOLOR( 0xFF00FF00));
pDC->FillRectangleW( (x*MGetWorkspaceWidth()), texty*MGetWorkspaceHeight()+9, nValuee*MGetWorkspaceWidth(), 3);
pDC->SetColor( tmpColor);
x=ITEM_XPOS[3];
int nKills = 0;
ZModule_QuestStatus* pMod = (ZModule_QuestStatus*)pQuestPlayerInfo->GetModule(ZMID_QUESTSTATUS);
if (pMod)
nKills = pMod->GetKills();
sprintf(szText,"%d", nKills);
TextRelative(pDC,x,texty,szText,true);
}
}
else
{
x=ITEM_XPOS[2];
sprintf(szText, "%d",pItem->nExp);
TextRelative(pDC,x ,texty,szText,true);
MCOLOR color = pDC->GetColor();