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

unit_pays_mp_for_action(): add attack cost.

Added by Sveinung Kvilhaugsvik over 2 years ago. Updated over 2 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.


Related issues

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

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Freeciv - Feature #847256: Unhardcode the "OneAttack" unit type flagClosed

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

History

#1 Updated by Sveinung Kvilhaugsvik over 2 years ago

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

#2 Updated by Sveinung Kvilhaugsvik over 2 years ago

#4 Updated by Sveinung Kvilhaugsvik over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF