Logo Platform
logo amplifiers simplified

How to change Price on the Market

Reply
Copied to clipboard!
9 years ago
Nov 7, 2015, 9:01:35 AM
Hi,

I've got a new trait idea, but i find no way to do it.

The goal of the trait is to lesser hero price on market.

Let say, with the trait, you have 10% reduction cost on heros.

Any idea on how to do it ?
0Send private message
9 years ago
Nov 7, 2015, 10:55:29 PM
10% seems a lot in the early stage when 500 Dust is a lot and little when you already got no less then 2-5k Dust (Era II and higher).

I don't really see that fitting anything to be honest.



I'd agree that market is easy to manipulate when you got more resources but still, no idea how those 10% could be trait.
0Send private message
9 years ago
Nov 16, 2015, 10:37:50 AM
Here's something to try. Create a new SimulationPropertyDescriptor for ClassEmpire in SimulationDescriptors[Class].xml (call it MarketHeroCostReduction or something) with BaseValue="1", then modify TradableCategoryDefinitions.xml to use this new property in ReferencePrice under TradableHero. Your trait then reduces this property with a percent operation. I'm not sure that it will actually work, as I don't think the market prices actually belong to any particular empire, so any reference to ClassEmpire or EmpireTypeMajor from there may draw a blank. Also, this doesn't have the general look of the constructibles, which have a CustomCost attribute.
0Send private message
?

Click here to login

Reply
Comment