[GEM 1.13.4/CivUP 2.5.2] - Question on the Pentagon

AnthonyG

Warlord
Joined
Jan 25, 2012
Messages
189
Location
NZ
The March promotion, if I'm not mistaken, is a GEM addition (it's in the files anyway), so my question concerns when you capture the wonder from an AI civ. When you build it yourself all of your units retroactively get March, which is great, but when you capture it only units you build from that point on get it.

Is this intentional? And if not, can it be altered to include your existing units when you capture the Pentagon?

Edit: I just had a game where I built it and the promotion wasn't retroactive. I could've sworn it was in another game. Guess I'll have to check again. Either way, as it comes so late and going by the description I think it should be retroactive regardless.
 
Yup, something's definitely up with this. Just had another game where I built it and all existing units received march as opposed to the game before when they did not.

Sorry, but I wasn't set up for lua logs. I'll try to get some maybe.

Edit: And how come it doesn't apply to air units, existing or new? "All units" is the description.
 
I assume it doesn't grant to naval units either, but air units should be getting it.

This might be a limitation of the number of promotions attached to the wonder and then a problem in the swap file not detecting the promotion and converting it to an air unit MARCH_III one.
 
No, naval units get it fine, which is the stranger since it's not a regular promotion for them.
 
I'd never noticed that one (my navy rarely needs it by that point I guess?). Air units might need to have a promo swap or it might be something domain related.

It looks like in civup it sets it to all combat units. Perhaps air units aren't being counted as "combat" for some reason and need to be updated (same way Hero Epic didn't apply to them before?). There are a couple lines of code suggesting that they're not set up that way for whatever reason (dealing with XP).

The bug that it doesn't apply to all units if captured is another question entirely though. I'm not sure if it's intended that way or not. I could see it as an intended feature (some wonders do have explicit bonuses for being first), but I'm not sure why it should work that way. :undecide:
 
I'd need to look into those lines for the air units, but it must be something like that. And the bug where it's not retroactive I first noticed when I captured the Pentagon, but I've also now had it happen when I've actually built it. Weird.
 
Back
Top Bottom