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