Project

General

Profile

Bug #763896

Bribe cost is halved regardless amount of damage

Added by Akechi . almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
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

History

#1 Updated by Anonymous almost 2 years ago

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

#2 Updated by Marko Lindqvist almost 2 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 almost 2 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 almost 2 years ago

  • Target version changed from 2.5.12 to 2.6.0

#5 Updated by Anonymous almost 2 years ago

  • Status changed from Resolved to Closed

#6 Updated by Jacob Nevins almost 2 years ago

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

Also available in: Atom PDF