Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Bug #929034 » 0049-Make-unit-build-cost-s-effect-on-bribe-cost-float.patch

master, S3_1 - Marko Lindqvist, 2021-06-02 04:05 AM

View differences:

common/unit.c
cost /= dist + 2;
/* Consider the build cost. */
cost *= unit_build_shield_cost_base(punit) / 10;
cost *= unit_build_shield_cost_base(punit) / 10.0;
/* Rule set specific cost modification */
cost += (cost
(1-1/2)