Pagina 1 din 1

[C++]Eliminare pret triplu regate

Scris: Dum Sep 25, 2022 9:28 am
de F. Gabriel
Sursa game.

Deschideți shop.cpp și căutați:

Cod: Selectaţi tot

	if (it->second)	// if other empire, price is triple
		dwPrice *= 3;
Inlocuieste functia cu:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
Cauta:

Cod: Selectaţi tot

iVal = 3;
Modifica in:

Cod: Selectaţi tot

iVal = 1;
Cauta:

Cod: Selectaţi tot

		if (bOtherEmpire) // no empire price penalty for pc shop
			pack2.items[i].price = item.price * 3;
		
Inlocuieste cu:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
Acum intrați în ShopEx.cpp
Cauta:

Cod: Selectaţi tot

		if (bOtherEmpire) // no empire price penalty for pc shop
			pack2.items[i].price = item.price * 3;
Modifica in:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
Cauta:

Cod: Selectaţi tot

	if (it->second)	// if other empire, price is triple
		dwPrice *= 3;
Modifica in:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
Cauta:

Cod: Selectaţi tot

	if (it->second)	// if other empire, price is triple
		dwPrice *= 3;
Modifica in:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
Shop_manager.cpp
Cauta:

Cod: Selectaţi tot

int iVal = 3;
Modifica in:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.