News:

Currently available MegaGlest gameservers are listed on Play.MG.

Main Menu

Discount Unit Cost Before Production

Started by Omega, 29 September 2010, 23:22:17

Omega

As you all probably know, the discount costs are always taken off AFTER the unit has been produced (ie: Unit costing 10 gold with 50% discount would still cost 10 gold, but would give you back 5 gold after the production is done). This is impractical, and it would be nice to either have it actually taken off of the production cost or given an XML option to have it taken off before production (for Legacy support?).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

ChupaReaper

Why not just decrease the cost in the first place or add an upgrade feature to effect the cost of things?

Zoythrus

he means when you morph a unit into a discounted unit.

this would be useful

silnarm


Agreed, I'll add an option to apply the discount 'before' or (default) 'after' the morph,


   <discount value="75" apply="before" /> <!-- apply is "after" by default -->

Glest Advanced Engine - Code Monkey

Timeline | Downloads