Ticket #45991

Unit type to "Upkeep Factor" context

Open Date: 2022-10-27 20:12 Last Update: 2022-11-03 00:36

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

EFT_UPKEEP_FACTOR is checked in utype_upkeep_cost(), which has knowledge of the unit type. So it should be trivial to support unit type requirements for the effect by adding it to the context.

I were actually looking for support for requirements of individual units, but this is a first step, already enabling some other improvements.

Ticket History (3/4 Histories)

2022-10-27 20:12 Updated by: cazfi
  • New Ticket "Unit type to "Upkeep Factor" context" created
2022-10-29 04:44 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-11-03 00:36 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login