Peacevassal mechanics question

DP parters power is also considered in those calcs, but again is not a simple sum.

Well that's just f*cking brilliant. So powers of defence pacts are combined, yet the AI is too STUPID to check who it is DoWing on apparently.

Another genius move by Firaxis...
 
Well, techinically the AI only dows a civ ;) And yes, it lacks any compreension of the complications that a DP or vassals might bring , besides the already mentioned power buffs.

I agree it could had been done in a better way :D
 
Thanks kossin. That is part of the land target code ;) That is why it is not shown directly in the surrender code that I posted ...

That is what we get for not having the time/patience to follow the code to the end ;)
 
Sorry for the massive :bump: but when I actually found something with the terrible search function, it seems like the best place for a query.
Code:
if (GC.getGameINLINE().getAdjustedPopulationPercent((VictoryTypes)i) > 0 || GC.getGameINLINE().getAdjustedLandPercent((VictoryTypes)i) > 0)
{
     if (bLandThreat && bPopulationThreat)
     {
          return DENIAL_POWER_YOU;
     }
}

Playing a game, and had intended to get enough land through warfare to inch up to domination limit, but it may be a pain. Up until very recently Mansa was willing to peace vassal, and as usual offered it. Suddenly Gandhi offered too, because a city expanded borders, so probably qualifies as a land target now. In the same turn I settled a new city, and now Gandhi too says we are too powerful for him (or something to that effect).

I'm not entirely sure what the above code does, but it looks like the most relevant part. Presumably it checks if we are above the domination limit for land OR population? If so, would it be possible to peace vassal these geezers if I whipped down the cities a bit? I should be far away from the land limit for the time being.
 
Back
Top Bottom