76
Bug report / Problem with "discount_rate" math
« on: 29 September 2010, 19:58:40 »
Ive noticed that when morphing to a unit with a discount rate that the discount rate is not applied for an initial cost. Instead after the unit is morphed the discount rate is then refunded to the player.
EX:
UNIT_A can morph into UNIT_B
discount rate = 50%
Unit_B = 100 gold
instead of costing the player 50 gold for the morph instead it cost 100 gold to start the morph, when morph is completed 50 gold is given back to the player.
This is problematic when you have for example 300 gold and 6 UNIT_A's instead of being able to morph all 6 at once, you would have to morph 3 at a time.
You can test this while morphing swordsman to guards.
This problem has been with Glest for a while and is also present in Megaglest as well. Not sure about GAE.
I hope that I explained this properly. Thanks for listening... err reading I mean!
EX:
UNIT_A can morph into UNIT_B
discount rate = 50%
Unit_B = 100 gold
instead of costing the player 50 gold for the morph instead it cost 100 gold to start the morph, when morph is completed 50 gold is given back to the player.
This is problematic when you have for example 300 gold and 6 UNIT_A's instead of being able to morph all 6 at once, you would have to morph 3 at a time.
You can test this while morphing swordsman to guards.
This problem has been with Glest for a while and is also present in Megaglest as well. Not sure about GAE.
I hope that I explained this properly. Thanks for listening... err reading I mean!
