Project

General

Profile

Actions

Feature #620

closed

Evaluate Unit_Bribe_Cost_Pct with briber unit information as other_context

Added by Alina Lenk 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
General
Target version:
Start date:
05/15/2024
Due date:
% Done:

0%

Estimated time:

Description

It's already being evaluated against the unit's owner; also add the unit itself, its type, tile and homecity (like for the bribed unit).


Files

Actions #1

Updated by Alina Lenk 6 months ago

This one ended up being nontrivial; client estimates bribe cost without a specific actor unit in mind, so unit_bribe_cost() still takes the bribing player separately from the unit that does the bribing.

Actions #2

Updated by Alina Lenk 6 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF