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 #763896

Bribe cost is halved regardless amount of damage

Added by Akechi . about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I checked at 2.6.0-RC1.
9 HP Warriors is half price of 10 HP Warriors.
9 HP Warriors and 1 HP Warriors are same price.

From http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues (7):

When diplomat/spy try to bribe enemy units, and enemy unit has some damage, bribe cost is halved regardless amount of damage.
(common\unit.c unit_bribe_cost)

--------
This ticket is already opened at GNA#25438, but GNA was shutdown.
If not good, please close this HRM ticket.

fix_unit_bribe_cost.patch (586 Bytes) fix_unit_bribe_cost.patch Anonymous, 2018-07-07 02:42 PM

Related issues

Blocks Freeciv - Task #656706: Handle http://freeciv.wikia.com/wiki/Forum:Some_tiny_issuesNew

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Anonymous about 3 years ago

Fixed.
Now cost should change linearly from 51% to 99% for damaged units.

#2 Updated by Marko Lindqvist about 3 years ago

That's a rule change and should not go to S2_5 at least.

What's the correct behavior for civ/2 rulesets? Maybe we need to make this ruleset controlled.

#3 Updated by Anonymous about 3 years ago

It was just forgoten conversion to float in > punit>hp / default_hp.

Switch to 2.6 if you like

#4 Updated by Anonymous about 3 years ago

  • Sprint/Milestone changed from 2.5.12 to 2.6.0

#5 Updated by Anonymous about 3 years ago

  • Status changed from Resolved to Closed

#6 Updated by Jacob Nevins about 3 years ago

  • Blocks Task #656706: Handle http://freeciv.wikia.com/wiki/Forum:Some_tiny_issues added

Also available in: Atom PDF