Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 18:18

  • Please register to post and access all features, it's quick, easy and FREE!

 

[Request] Formula for upgrading item level

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 510
Received Thanks: 104
[Request] Formula for upgrading item level

Hey what is the formula to determine the amount of mets you need to upgrade an item level.

Thanks in advance



AndreaCo is offline  
Old   #2

 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,390
Received Thanks: 1,050
Code:
int Amount = 100 / Chance + 1;
The amount is related to the chance you have to upgrade at TC. I have the official algorithm somewhere, but I can't find it at the moment.


CptSky is offline  
Old   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 96
Quote:
Originally Posted by CptSky View Post
Code:
int Amount = 100 / Chance + 1;
The amount is related to the chance you have to upgrade at TC. I have the official algorithm somewhere, but I can't find it at the moment.
If they have the same thing in the EO client, then we could just look into that source. I've never played EO.
Spirited42 is offline  
Old   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,308
They do have a similar system. Red/yellow stones instead of db's/+1's... I forget what it is for level upgrade... blue? O_o


pro4never is offline  
Old   #5
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 96
Quote:
Originally Posted by pro4never View Post
They do have a similar system. Red/yellow stones instead of db's/+1's... I forget what it is for level upgrade... blue? O_o
._. ... what?
that's weird..
Spirited42 is offline  
Old   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,308
It's violet or purple stones for level upgrade now that I think of it... Violet stones sounds right :P
pro4never is offline  
Old   #7
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 96
Quote:
Originally Posted by pro4never View Post
It's violet or purple stones for level upgrade now that I think of it... Violet stones sounds right :P
TQ is so creative..
Spirited42 is offline  
Old   #8
 
elite*gold: 0
Join Date: Nov 2010
Posts: 237
Received Thanks: 99
Quote:
Originally Posted by Spirited View Post
TQ is so creative..
TQ does LSD.
|NeoX is offline  
Old   #9
 
elite*gold: 0
Join Date: Jun 2005
Posts: 686
Received Thanks: 337
Quote:
Originally Posted by CptSky View Post
Code:
int Amount = 100 / Chance + 1;
The amount is related to the chance you have to upgrade at TC. I have the official algorithm somewhere, but I can't find it at the moment.
And this is where the chance comes from:
Code:
bool CUser::GetUpEpLevelInfo	(CItem* pItem, int& nChance, OBJID& idNewType, bool bSendHint/*=false*/)
{
	idNewType = this->ChkUpEqLevel(pItem, bSendHint);
	if (ID_NONE == idNewType)
		return false;

	OBJID idType = pItem->GetInt(ITEMDATA_TYPE);

	nChance = 100;
	if (pItem->IsShield() || pItem->IsArmor() || pItem->IsHelmet())
	{
		int nLev = (idType%100)/10;
		switch(nLev)
		{
		case 5:
			nChance = 50;
			break;

		case 6:
			nChance = 40;
			break;

		case 7:
			nChance = 30;
			break;

		case 8:
		case 9:
			nChance = 20;
			break;

		default:
			nChance = 500;
			break;
		}

		int nQuality = idType%10;
		switch(nQuality)
		{
		case 6:
			nChance = nChance*90/100;
			break;

		case 7:
			nChance = nChance*70/100;
			break;
			
		case 8:
			nChance = nChance*30/100;
			break;
			
		case 9:
			nChance = nChance*10/100;
			break;
			
		default:
			break;
		}
	}
	else
	{		
		int nLev = (idType%1000)/10;
		switch(nLev)
		{
		case 11:
			nChance = 95;
			break;
			
		case 12:
			nChance = 90;
			break;
			
		case 13:
			nChance = 85;
			break;
			
		case 14:
			nChance = 80;
			break;
			
		case 15:
			nChance = 75;
			break;
			
		case 16:
			nChance = 70;
			break;
			
		case 17:
			nChance = 65;
			break;
			
		case 18:
			nChance = 60;
			break;
			
		case 19:
			nChance = 55;
			break;
			
		case 20:
			nChance = 50;
			break;
			
		case 21:
			nChance = 45;
			break;
			
		case 22:
			nChance = 40;
			break;
			
		default:
			nChance = 500;
			break;
		}
		
		int nQuality = idType%10;
		switch(nQuality)
		{
		case 6:
			nChance = nChance*90/100;
			break;

		case 7:
			nChance = nChance*70/100;
			break;
			
		case 8:
			nChance = nChance*30/100;
			break;
			
		case 9:
			nChance = nChance*10/100;
			break;
			
		default:
			break;
		}
	}

	// change range
	nChance = __min(100, __max(1, nChance));
	return true;
}


nTL3fTy is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Request] Edit the Highest Level & Change the Item Level
Hello Together , I have a question, how can i change the Highest level Like from 137 to 150. And the Second question how an i change the...
2 Replies - CO2 PServer - Discussions / Questions
upgrading item quality
how many dbs would take for magic artisan to upgrade a lvl 15 unique -3% damage warrior armor i know it takes 6 at lvl 110 ?
2 Replies - CO2 Main - Discussions / Questions
any trick on upgrading item?
is there any trick to upgrade item with less fail rate?any pro here?
2 Replies - Cabal Main - Discussions / Questions
Upgrading Item Level?
Sorry to sound Nubbish in this post. I quit CO2 to join silkroad and i recently acquired a Seal Of Star Spear lvl 8. My question is, is there a way...
6 Replies - SRO Main - Discussions / Questions
Upgrading item
yo i tried to lvl my bracelet in tc it cant it dun do even fail it dun use the met on it and i tried in market it says that it need too much mets to...
5 Replies - CO2 Main - Discussions / Questions



All times are GMT +2. The time now is 18:18.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.