Quote:
	
	
		
			
				
					Originally Posted by  cavedude
					 
				 
				Moving to submission. To make it easier on KLS/Scorp, could you diff your changes? 
			
		 | 
	
	
 Sure.
Line 3717 of zone/client_packet.cpp should be changed from:
to
	Code:
	mco->rate = 1/(.884*Client::CalcPriceMod(tmp,true));
 line 3842 of zone/client_packet.cpp should be changed from:
	Code:
	mpo->price = (item->Price*127/100)*mp->quantity;
 to
	Code:
	mpo->price = (item->Price*(1/.884)*Client::CalcPriceMod(tmp,false))*mp->quantity;
 line 3947 of zone/client_packet.cpp should be changed from:
	Code:
	price=(int)((item->Price*mp->quantity)*.884);
 to
	Code:
	price=(int)((item->Price*mp->quantity)*.884*Client::CalcPriceMod(vendor,true)+0.5); // need to round, because client does it automatically when displaying price
 line 4001 of zone/client_packet.cpp should be changed from:
	Code:
	inst2->SetPrice(item->Price*127/100);
 to
	Code:
	inst2->SetPrice(item->Price*(1/.884)*Client::CalcPriceMod(vendor,false));
 in zone/client_process.cpp, the following should be moved from 878 to 804:
	Code:
	Mob* merch = entity_list.GetMobByNpcTypeID(npcid);
 line 831 of zone/client_process.cpp should be changed from:
	Code:
	inst->SetPrice(item->Price*127/100);
 to
	Code:
	inst->SetPrice((item->Price*(1/.884)*Client::CalcPriceMod(merch,false)));
 line 862 of zone/client_process.cpp should be changed from:
	Code:
	inst->SetPrice(item->Price*127/100);
 to
	Code:
	inst->SetPrice((item->Price*(1/.884)*Client::CalcPriceMod(merch,false)));