I try to search about flyff max upgrade tropic in elitepvpers site and now I can make Safe upgrade window work for +20 armor/weapon and Safe piercing window work for +10 [suit]
but it only work with the number in window I can't upgrade ultimate pass +10 and I can't piercing suit pass +4 slot.
Update : ****I can make suit piercing to 10 slot and normalweapon/Ultimate/armor to +20 now
But I can't find the way to make ultimate weapon +20 get 10 slot gem.
I think it is in UltimateWeapon.cpp but I don't know where to change.
Things I change in WndField.cpp
int CWndSmeltSafety::GetDefaultMaxSmeltValue(void)
{
assert(m_pItemElem != NULL);
int nDefaultMaxSmeltValue(0);
switch(m_eWndMode)
{
case WND_NORMAL:
{
nDefaultMaxSmeltValue = 20;
break;
}
case WND_ACCESSARY:
{
nDefaultMaxSmeltValue = 20;
break;
}
case WND_PIERCING:
{
if(m_pItemElem->GetProp()->dwItemKind3 == IK3_SUIT)
{
nDefaultMaxSmeltValue = 10;
}
else
{
nDefaultMaxSmeltValue = 10;
}
break;
Things I change in ItemUpgrade.cpp
if( pItemMain->m_nResistAbilityOption < 20 )
{
nPercent += 1000;
// 속성 제련의 두루마리 로그 남길것
ItemProp* pItemProp = pItemSmeltScr->GetProp();
if( pItemProp )
{
g_dpDBClient.SendLogSMItemUse( "1", pUser, pItemSmeltScr, pItemProp );
g_dpDBClient.SendLogSMItemUse( "2", pUser, NULL, pItemProp );
}
pUser->RemoveItem( (BYTE)( pItemSmeltScr->m_dwObjId ), 1 );
if( pItemMain->m_nResistAbilityOption <200 )
{
nPercent += 1000;
// 속성 제련의 두루마리 로그 남길것
ItemProp* pItemProp = pItemSmeltScr->GetProp();
if( pItemProp )
{
g_dpDBClient.SendLogSMItemUse( "1", pUser, pItemSmeltScr, pItemProp );
g_dpDBClient.SendLogSMItemUse( "2", pUser, NULL, pItemProp );
}
pUser->RemoveItem( (BYTE)( pItemSmeltScr->m_dwObjId ), 1 );
Things I change in ItemUpgrade.lua
tSuitProb = { 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000 }
tWeaponProb = { 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000 }
----------------------------------------------------------
-- General Smelting Probability --------------------------
----------------------------------------------------------
-- Overseas, the value is reduced by 10% from +4. (n * 0.9)
tGeneral = { 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000 };
Things I change in Ultimate_Ultimateweapon.txt
ULTIMATE_ENCHANT
{
1 1000000 //11%
2 1000000 //9%
3 1000000 //7%
4 1000000 //5%
5 1000000 //3%
6 1000000 //0.9%
7 1000000 //0.7%
8 1000000 //0.5%
9 1000000 //0.3%
10 1000000 //0.1%
11 1000000 //11%
12 1000000 //9%
13 1000000 //7%
14 1000000 //5%
15 1000000 //3%
16 1000000 //0.9%
17 1000000 //0.7%
18 1000000 //0.5%
19 1000000 //0.3%
20 1000000 //0.1%
}
but it only work with the number in window I can't upgrade ultimate pass +10 and I can't piercing suit pass +4 slot.
Update : ****I can make suit piercing to 10 slot and normalweapon/Ultimate/armor to +20 now
But I can't find the way to make ultimate weapon +20 get 10 slot gem.
I think it is in UltimateWeapon.cpp but I don't know where to change.
Things I change in WndField.cpp
int CWndSmeltSafety::GetDefaultMaxSmeltValue(void)
{
assert(m_pItemElem != NULL);
int nDefaultMaxSmeltValue(0);
switch(m_eWndMode)
{
case WND_NORMAL:
{
nDefaultMaxSmeltValue = 20;
break;
}
case WND_ACCESSARY:
{
nDefaultMaxSmeltValue = 20;
break;
}
case WND_PIERCING:
{
if(m_pItemElem->GetProp()->dwItemKind3 == IK3_SUIT)
{
nDefaultMaxSmeltValue = 10;
}
else
{
nDefaultMaxSmeltValue = 10;
}
break;
Things I change in ItemUpgrade.cpp
if( pItemMain->m_nResistAbilityOption < 20 )
{
nPercent += 1000;
// 속성 제련의 두루마리 로그 남길것
ItemProp* pItemProp = pItemSmeltScr->GetProp();
if( pItemProp )
{
g_dpDBClient.SendLogSMItemUse( "1", pUser, pItemSmeltScr, pItemProp );
g_dpDBClient.SendLogSMItemUse( "2", pUser, NULL, pItemProp );
}
pUser->RemoveItem( (BYTE)( pItemSmeltScr->m_dwObjId ), 1 );
if( pItemMain->m_nResistAbilityOption <200 )
{
nPercent += 1000;
// 속성 제련의 두루마리 로그 남길것
ItemProp* pItemProp = pItemSmeltScr->GetProp();
if( pItemProp )
{
g_dpDBClient.SendLogSMItemUse( "1", pUser, pItemSmeltScr, pItemProp );
g_dpDBClient.SendLogSMItemUse( "2", pUser, NULL, pItemProp );
}
pUser->RemoveItem( (BYTE)( pItemSmeltScr->m_dwObjId ), 1 );
Things I change in ItemUpgrade.lua
tSuitProb = { 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000 }
tWeaponProb = { 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000 }
----------------------------------------------------------
-- General Smelting Probability --------------------------
----------------------------------------------------------
-- Overseas, the value is reduced by 10% from +4. (n * 0.9)
tGeneral = { 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000 };
Things I change in Ultimate_Ultimateweapon.txt
ULTIMATE_ENCHANT
{
1 1000000 //11%
2 1000000 //9%
3 1000000 //7%
4 1000000 //5%
5 1000000 //3%
6 1000000 //0.9%
7 1000000 //0.7%
8 1000000 //0.5%
9 1000000 //0.3%
10 1000000 //0.1%
11 1000000 //11%
12 1000000 //9%
13 1000000 //7%
14 1000000 //5%
15 1000000 //3%
16 1000000 //0.9%
17 1000000 //0.7%
18 1000000 //0.5%
19 1000000 //0.3%
20 1000000 //0.1%
}