Logo Platform
logo amplifiers simplified

Can't attack in neutral Urkin region

Reply
Copied to clipboard!
0Send private message
6 years ago
Mar 16, 2019, 4:12:38 PM

I had a look at that save an tracked down the bug. Its not ELCP specific, but I will fix it nonetheless in the next version because its easy to do. Interestingly enough I noticed that the AI never moved its Urkans from (what I assume) are their initial taming places. That behavior should not be and is an actual ELCP related bug that I can onlyx assume happened due to tiredness on my side ^^. I'll also fix that issue for the next ELCP release which will be soonish.




For the devs:

In DepartmentOfForeignAffairs.cs, method "public bool CanAttack(IGameEntity opponentGameEntity)", in the "village-block" replace


if (diplomaticRelation2.State.Name == DiplomaticRelationState.Names.ColdWar)

{

    return !village.Region.IsRegionColonized() || village.Region.Owner == base.Empire;

}

with

if (diplomaticRelation2.State.Name == DiplomaticRelationState.Names.ColdWar)
{
   return !village.Region.IsRegionColonized() || village.Region.Owner == base.Empire || !(village.Region.Owner is MajorEmpire);

0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message