コード例 #1
0
 /// <summary>
 ///     Applies the effects that result of a player crushing a revolution. It boosts ally popularity, prevents revolutions
 ///     for the next two months and resets all group status and allies from previous plots.
 /// </summary>
 public void ApplyRevolutionCrushedEffects()
 {
     BoostAllyPopularity();
     governmentService.SetPlotBonus(governmentService.GetMonth() + 2);  // Prevent revolutions for the next two months
     groupService.ResetStatusAndAllies();
     // TODO: reset player's ally and revolution properties?
 }