Hello !
I modified randomoption.cpp to get Baruna weapons awakeable.
Before changing I had :
Now, I have :
After compiling, I tried to awake a K-Fang. This item had the mention "Awakening is aviable"
When I was hovering the item, a message said me "A Baruna weapon can not be awakened" as system message (like when you pick up an item from the floor)(It's not the real text, just a translation from French). When I used an Awakening Scroll, the same message appeared in green.
I removed the security which made Baruna weapons not awakeable but an other security is in Client or Neuz sources.
Someone here know how to remove this security to make Baruna weapons awakeable ?
I modified randomoption.cpp to get Baruna weapons awakeable.
Before changing I had :
#ifdef __NEW_ITEM_BARUNA
if(pItemElem->GetProp()->dwReferStat1 != BARUNA_D)
{
#endif //__NEW_ITEM_BARUNA
switch( pProp->dwParts )
{
case PARTS_UPPER_BODY:
case PARTS_RWEAPON:
case PARTS_SHIELD:
case PARTS_HAND: // ¼Õ
case PARTS_FOOT: // ¹ß
case PARTS_CAP: // ¸Ó¸®
return static_cast<int>( eAwakening );
case PARTS_CLOTH:
case PARTS_CLOAK:
case PARTS_HAT: // °Ñ¿Ê ¸Ó¸®
case PARTS_GLOVE: // °Ñ¿Ê ¼Õ
case PARTS_BOOTS: // °Ñ¿Ê ¹ß
return static_cast<int>( eBlessing );
default:
{
// C±Þ ÀÌ»óÀÇ ½Ã½ºÅÛ ÆêÀΰ¡?
if( pProp->dwItemKind3 == IK3_EGG && pItemElem->m_pPet && pItemElem->m_pPet->GetLevel() >= PL_C )
return static_cast<int>( eSystemPet );
// ¸ÔÆêÀΰ¡?
else if( pProp->dwItemKind3 == IK3_PET )
return static_cast<int>( eEatPet );
break;
}
}
#ifdef __NEW_ITEM_BARUNA
}
#endif //__NEW_ITEM_BARUNA
return -1;
Now, I have :
switch( pProp->dwParts )
{
case PARTS_UPPER_BODY:
case PARTS_RWEAPON:
case PARTS_SHIELD:
case PARTS_HAND: // ¼Õ
case PARTS_FOOT: // ¹ß
case PARTS_CAP: // ¸Ó¸®
return static_cast<int>( eAwakening );
case PARTS_CLOTH:
case PARTS_CLOAK:
case PARTS_HAT: // °Ñ¿Ê ¸Ó¸®
case PARTS_GLOVE: // °Ñ¿Ê ¼Õ
case PARTS_BOOTS: // °Ñ¿Ê ¹ß
return static_cast<int>( eBlessing );
default:
{
// C±Þ ÀÌ»óÀÇ ½Ã½ºÅÛ ÆêÀΰ¡?
if( pProp->dwItemKind3 == IK3_EGG && pItemElem->m_pPet && pItemElem->m_pPet->GetLevel() >= PL_C )
return static_cast<int>( eSystemPet );
// ¸ÔÆêÀΰ¡?
else if( pProp->dwItemKind3 == IK3_PET )
return static_cast<int>( eEatPet );
break;
}
}
return -1;
After compiling, I tried to awake a K-Fang. This item had the mention "Awakening is aviable"
When I was hovering the item, a message said me "A Baruna weapon can not be awakened" as system message (like when you pick up an item from the floor)(It's not the real text, just a translation from French). When I used an Awakening Scroll, the same message appeared in green.
I removed the security which made Baruna weapons not awakeable but an other security is in Client or Neuz sources.
Someone here know how to remove this security to make Baruna weapons awakeable ?