Show card effect on mouseover
CWndManager :: MakeToolTipText
before switch (pItemProp->dwItemKind2)
add
As seen here: [Only registered and activated users can see links. Click Here To Register...] (Before it was removed q.q)
Before I get any hate for releasing someone else's "system", this is outright a scam. Simple text modifications shouldnt be sold to anyone, it took me 5 minutes to do this.
CWndManager :: MakeToolTipText
before switch (pItemProp->dwItemKind2)
add
Code:
switch (pItemProp->dwItemKind3)
{
case IK3_SOCKETCARD:
{
strEdit.AddString("\nArmor Piercing Card");
PPIERCINGAVAIL pPiercing = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemProp->dwID);
if (pPiercing)
{
for (int i = 0; i < pPiercing->nSize; i++)
{
char c = '+';
if (pPiercing->anDstParam[i] < 0)
c = '-';
CString strEffect;
if (IsDstRate(pPiercing->anDstParam[i]))
strEffect.Format("\nEffect: %s %c%d%%", FindDstString(pPiercing->anDstParam[i]), c, (pPiercing->anAdjParam[i] == DST_ATTACKSPEED ? (int)(pPiercing->anAdjParam[i] / 20) : pPiercing->anAdjParam[i]));
else
strEffect.Format("\nEffect: %s %c%d", FindDstString(pPiercing->anDstParam[i]), c, pPiercing->anAdjParam[i]);
strEdit.AddString(strEffect);
}
}
return;
}
case IK3_SOCKETCARD2:
{
strEdit.AddString("\nWeapon Piercing Card");
PPIERCINGAVAIL pPiercing = CPiercingAvail::GetInstance()->GetPiercingAvail(pItemProp->dwID);
if (pPiercing)
{
for (int i = 0; i < pPiercing->nSize; i++)
{
char c = '+';
if (pPiercing->anDstParam[i] < 0)
c = '-';
CString strEffect;
if (IsDstRate(pPiercing->anDstParam[i]))
strEffect.Format("\nEffect: %s %c%d%%", FindDstString(pPiercing->anDstParam[i]), c, (pPiercing->anAdjParam[i] == DST_ATTACKSPEED ? (int)(pPiercing->anAdjParam[i] / 20) : pPiercing->anAdjParam[i]));
else
strEffect.Format("\nEffect: %s %c%d", FindDstString(pPiercing->anDstParam[i]), c, pPiercing->anAdjParam[i]);
strEdit.AddString(strEffect);
}
}
return;
}
}
Before I get any hate for releasing someone else's "system", this is outright a scam. Simple text modifications shouldnt be sold to anyone, it took me 5 minutes to do this.