public override void ApplyInfluenceKind(Troop troop) { if (troop.GetCurrentStratagemSuccess(troop.OrientationTroop, troop.InevitableAttractOnLowerIntelligence || troop.InevitableStratagemOnLowerIntelligence, troop.OrientationTroop.InvincibleAttract, troop.OrientationTroop.InvincibleStratagemFromLowerIntelligence)) { troop.OrientationTroop.SetAttract(troop, troop.GenerateCastAttractDay(this.maxDays)); } foreach (Troop troop2 in troop.AreaStratagemTroops) { if (troop.GetCurrentStratagemSuccess(troop2, troop.InevitableAttractOnLowerIntelligence || troop.InevitableStratagemOnLowerIntelligence, troop2.InvincibleAttract, troop2.InvincibleStratagemFromLowerIntelligence)) { troop2.SetAttract(troop, troop.GenerateCastAttractDay(this.maxDays)); } } }