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...

Feature #849449

closed

unit_pays_mp_for_action(): add attack cost.

Added by Sveinung Kvilhaugsvik over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:

Description

Move the cost of a successful attack to unit_pays_mp_for_action(). Doesn't include the cost of occupychance post attack forced move.

This cost can't move to the ruleset yet because the support for OneAttack is still greater than the support for Action_Success_Actor_Move_Cost. Having it in unit_pays_mp_for_action() gives the AI access to it.


Files


Related issues

Related to Freeciv - Feature #849448: AI spy action vs city evaluation: movement costClosedSveinung Kvilhaugsvik

Actions
Blocks Freeciv - Feature #847256: Unhardcode the "OneAttack" unit type flagClosedSveinung Kvilhaugsvik

Actions
Actions #1

Updated by Sveinung Kvilhaugsvik over 3 years ago

  • Related to Feature #849448: AI spy action vs city evaluation: movement cost added
Actions #2

Updated by Sveinung Kvilhaugsvik over 3 years ago

Actions #4

Updated by Sveinung Kvilhaugsvik over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF