^
*insert mimimimi you shouldn't change anything, stop your project mimiimiimi*
OpenNos.Gameobject/Item/Instance/WearableInstance.cs
search for:
Code:
public void UpgradeItem(ClientSession session, UpgradeMode mode, UpgradeProtection protection, bool isCommand = false)
then at:
search for the else{}
and change:
Code:
else
{
//upfix = new short[] {0, 0, 10, 15, 20, 20, 20, 20, 15, 14};
//upfail = new short[] {0, 0, 0, 5, 20, 40, 60, 7
upfail = new short[] {0, 0, 0, 0, 0, 0, 0, 70, 80, 85};
upfix = new short[] { 0, 0, 0, 0, 0, 0, 0, 20, 15, 14 };0, 80, 85};,
goldprice = new[] {500, 1500, 3000, 10000, 30000, 80000, 150000, 400000, 700000, 1000000};
cella = new short[] {20, 50, 80, 120, 160, 220, 280, 380, 480, 600};
gem = new short[] {1, 1, 2, 2, 3, 1, 1, 2, 2, 3};
}
UpFix (Chance to fix your Item, first upgrade is 0%, second is 0%...)
UpFail (Chance to fail the upgrade, first one is 0%...)
Have Fun.