Class StratConScenarioTempo

java.lang.Object
mekhq.campaign.digitalGM.stratCon.StratConScenarioTempo

public final class StratConScenarioTempo extends Object
Rolls a StratCon contract's normal scenarios each week, and lays the contract's pre-rolled schedules out again when the contract is edited or extended.

Each Monday, the contract rolls 1 time per point of Scale (rounded normally, never below once). Each roll picks a random sector and rolls against that sector's threat (see StratConRulesManager.calculateScenarioOdds(mekhq.campaign.digitalGM.stratCon.StratConTrackState, mekhq.campaign.mission.contract.AbstractContract, boolean)); a hit brings a normal scenario to that sector on a random day of the week (see rollWeeklyScenarios(mekhq.campaign.mission.contract.AbstractContract, mekhq.campaign.digitalGM.stratCon.StratConCampaignState, java.time.LocalDate)). A peaceful contract's threat is nothing, so it rolls no scenarios.

Single Drop play keeps its own pace of one scenario a week. A contract accepted before normal scenarios were rolled each week keeps the schedule it was given up front until it is edited or extended.

Since:
0.51.01