Exemplo n.º 1
0
 public override void ApplyInfluenceKind(Troop troop)
 {
     if ((troop.Scenario.IsPlayer(troop.BelongedFaction) && !troop.Auto) && ((((troop.StartingArchitecture == null) || (troop.StartingArchitecture.BelongedFaction != troop.BelongedFaction)) || (troop.StartingArchitecture.BelongedSection == null)) || !troop.StartingArchitecture.BelongedSection.AIDetail.AutoRun))
     {
         troop.Investigate(this.days);
     }
     else
     {
         troop.BelongedLegion.SetInformationPosition();
         if (troop.BelongedLegion.InformationDestination.HasValue)
         {
             troop.SelfCastPosition = troop.BelongedLegion.InformationDestination.Value;
             troop.BelongedLegion.InformationDestination = null;
             troop.Investigate(this.days);
         }
     }
 }