Beispiel #1
0
 public override void ApplyInfluenceKind(Troop troop)
 {
     if (troop.GetCurrentStratagemSuccess(troop.OrientationTroop, troop.InevitableGongxinOnLowerIntelligence || troop.InevitableStratagemOnLowerIntelligence, troop.OrientationTroop.InvincibleGongxin, troop.OrientationTroop.InvincibleStratagemFromLowerIntelligence))
     {
         troop.ApplyGongxin(troop.OrientationTroop, this.baseDecrement);
     }
     foreach (Troop troop2 in troop.AreaStratagemTroops)
     {
         if (troop.GetCurrentStratagemSuccess(troop2, troop.InevitableGongxinOnLowerIntelligence || troop.InevitableStratagemOnLowerIntelligence, troop2.InvincibleGongxin, troop2.InvincibleStratagemFromLowerIntelligence))
         {
             troop.ApplyGongxin(troop2, this.baseDecrement);
         }
     }
 }