Skip to content

Commit 915f8fb

Browse files
authored
Merge pull request #4144 from IllianiCBT/victoryPointTermsRevisit
Changed "Operational Victory Points" to "Scenario Victory Points"
2 parents 2110bc3 + 13ccdc1 commit 915f8fb

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

MekHQ/docs/AtB Stuff/stratcon-faq-2.5.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Your Contract Score is no longer the sole metric of your success.
8080

8181
* Stratcon contract VP's are only awarded for "required by employer" scenarios, and will show "deployment required by contract / -1 VP if lost/ignored; +1 VP if won" and are NOT necessarily Contract Objectives. There is a screenshot sticky in the Stratcon channel for an example.
8282

83-
* The information about whether a scenario gives VP/SP is stated in red on the scenario description in the StratCon tab. "Operational Victory Points" stated in the briefing tab are internal, meant for the game to find the effect (if any) of the battle. So, VP discussed in a post-battle resolution screen and VP on the StratCon campaign tab are NOT the same. The ones on the campaign tab are the only ones that count toward final contract score.
83+
* The information about whether a scenario gives VP/SP is stated in red on the scenario description in the StratCon tab. "Scenario Victory Points" stated in the briefing tab are internal, meant for the game to find the effect (if any) of the battle. So, VP discussed in a post-battle resolution screen and VP on the StratCon campaign tab are NOT the same. The ones on the campaign tab are the only ones that count toward final contract score.
8484

8585
* Orange objectives mean completed, but on-going objectives. Finished strategic objectives turn green.
8686

MekHQ/src/mekhq/campaign/mission/ObjectiveEffect.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ public enum EffectScalingType {
5151
*/
5252
public enum ObjectiveEffectType {
5353
/*
54-
* contributes a "Operational Victory Point" towards the scenario's victory/defeat state
54+
* contributes a "Scenario Victory Point" towards the scenario's victory/defeat state
5555
*/
56-
ScenarioVictory("+%d Operational VP", true),
56+
ScenarioVictory("+%d Scenario VP", true),
5757
/*
58-
* contributes a "negative Operational Victory Point/s" towards the scenario's victory/defeat state
58+
* contributes a "negative Scenario Victory Point/s" towards the scenario's victory/defeat state
5959
*/
60-
ScenarioDefeat("-%d Operational VP", true),
60+
ScenarioDefeat("-%d Scenario VP", true),
6161
/*
6262
* changes the contract score
6363
*/

MekHQ/src/mekhq/campaign/mission/ScenarioObjectiveProcessor.java

+4-10
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
*/
1919
package mekhq.campaign.mission;
2020

21-
import java.util.Collection;
22-
import java.util.HashMap;
23-
import java.util.HashSet;
24-
import java.util.List;
25-
import java.util.Map;
26-
import java.util.Set;
27-
import java.util.UUID;
28-
2921
import megamek.common.Entity;
3022
import megamek.common.OffBoardDirection;
3123
import mekhq.MHQConstants;
@@ -36,6 +28,8 @@
3628
import mekhq.campaign.mission.enums.ScenarioStatus;
3729
import mekhq.campaign.stratcon.StratconRulesManager;
3830

31+
import java.util.*;
32+
3933
/**
4034
* Handles processing for objectives for a scenario that has them
4135
* @author NickAragua
@@ -357,12 +351,12 @@ private String processObjectiveEffect(ObjectiveEffect effect, int scaleFactor,
357351
switch (effect.effectType) {
358352
case ScenarioVictory:
359353
if (dryRun) {
360-
return String.format("%d Operational Victory Point/s", effect.howMuch);
354+
return String.format("%d Scenario Victory Point/s", effect.howMuch);
361355
}
362356
break;
363357
case ScenarioDefeat:
364358
if (dryRun) {
365-
return String.format("%d Operational Victory Point/s", -effect.howMuch);
359+
return String.format("%d Scenario Victory Point/s", -effect.howMuch);
366360
}
367361
break;
368362
case ContractScoreUpdate:

0 commit comments

Comments
 (0)