コード例 #1
0
 public override void PurifyInfluenceKind(Architecture architecture)
 {
     foreach (Microsoft.Xna.Framework.Point point in architecture.ViewArea.Area)
     {
         Troop troopByPosition = base.Scenario.GetTroopByPosition(point);
         if ((troopByPosition != null) && !architecture.IsFriendly(troopByPosition.BelongedFaction))
         {
             troopByPosition.DecreaseCombativity(this.decrement);
         }
     }
 }
コード例 #2
0
 public override void PurifyInfluenceKind(Architecture architecture)
 {
     foreach (Microsoft.Xna.Framework.Point point in architecture.ViewArea.Area)
     {
         Troop troopByPosition = base.Scenario.GetTroopByPosition(point);
         if ((troopByPosition != null) && architecture.IsFriendly(troopByPosition.BelongedFaction))
         {
             troopByPosition.ChanceIncrementOfCriticalStrike -= this.increment;
         }
     }
 }
コード例 #3
0
 public override void ApplyInfluenceKind(Architecture architecture)
 {
     foreach (Microsoft.Xna.Framework.Point point in architecture.ViewArea.Area)
     {
         Troop troopByPosition = base.Scenario.GetTroopByPosition(point);
         if ((troopByPosition != null) && !architecture.IsFriendly(troopByPosition.BelongedFaction))
         {
             troopByPosition.ChanceDecrementOfStratagem += this.decrement;
         }
     }
 }
コード例 #4
0
 public override void PurifyInfluenceKind(Architecture architecture)
 {
     foreach (Microsoft.Xna.Framework.Point point in architecture.ViewArea.Area)
     {
         Troop troopByPosition = base.Scenario.GetTroopByPosition(point);
         if ((troopByPosition != null) && architecture.IsFriendly(troopByPosition.BelongedFaction))
         {
             troopByPosition.RateOfOffence -= this.rate;
         }
     }
 }