Search:
Code:
IBuffItemBase::Release
Replace:
Code:
pBuffMgr->GetMover()->ResetDestParam(pProp->dwDestParam1, pProp->nAdjParamVal1, true);
pBuffMgr->GetMover()->ResetDestParam(pProp->dwDestParam2, pProp->nAdjParamVal2, true);
To:
Code:
#ifdef __FIX_STAT_BUFF
#if __VER >= 19
for(int i = 0; i < 6; i++) // for v19 formats (6 lines of items effects)
#else
for(int i = 0; i < 3; i++) // for v18 formats (3 effects max)
#endif
pBuffMgr->GetMover()->ResetDestParam(pProp->dwDestParam[i], pProp->nAdjParamVal[i], true);
#else
pBuffMgr->GetMover()->ResetDestParam(pProp->dwDestParam1, pProp->nAdjParamVal1, true);
pBuffMgr->GetMover()->ResetDestParam(pProp->dwDestParam2, pProp->nAdjParamVal2, true);
#endif