Scroll of Baruna Weapon Upgrade

06/07/2013 18:38 fauzievolute#1
This scroll change Ultimate +10 weapon to Baruna weapon. Im using same code from unbinding scroll.
First check if it's Ultimate and upgraded +10, then remove all piercing, socketing, and upgrade.
Then change it to BARUNA_D at dwReferStat1.
Save to database & Log.

I'm new to C++ but i want to learn more. I just want to know what code should i use to do that at DPSrvr.cpp
Code:
BOOL CDPSrvr::BarunaWeaUpgrade( CUser* pUser, CItemElem* pMaterial, CItemElem* pTarget )
{
....???
}
Please if u know how to do this, give me a clue. The rest code i'll continue from unbinding scroll.

Thanks Before,
fauzievolute