diff --git a/Content.Server/GameTicking/Rules/TraitorRuleSystem.cs b/Content.Server/GameTicking/Rules/TraitorRuleSystem.cs index 26125a6da7..dce144901f 100644 --- a/Content.Server/GameTicking/Rules/TraitorRuleSystem.cs +++ b/Content.Server/GameTicking/Rules/TraitorRuleSystem.cs @@ -238,6 +238,7 @@ public sealed class TraitorRuleSystem : GameRuleSystem var maxDifficulty = _cfg.GetCVar(CCVars.TraitorMaxDifficulty); var maxPicks = _cfg.GetCVar(CCVars.TraitorMaxPicks); var difficulty = 0f; + Log.Debug($"Attempting {maxPicks} objective picks with {maxDifficulty} difficulty"); for (var pick = 0; pick < maxPicks && maxDifficulty > difficulty; pick++) { var objective = _objectives.GetRandomObjective(mindId, mind, "TraitorObjectiveGroups"); @@ -245,7 +246,9 @@ public sealed class TraitorRuleSystem : GameRuleSystem continue; _mindSystem.AddObjective(mindId, mind, objective.Value); - difficulty += Comp(objective.Value).Difficulty; + var adding = Comp(objective.Value).Difficulty; + difficulty += adding; + Log.Debug($"Added objective {ToPrettyString(objective):objective} with {adding} difficulty"); } } diff --git a/Resources/Prototypes/Objectives/objectiveGroups.yml b/Resources/Prototypes/Objectives/objectiveGroups.yml index f2d900afe6..aa443781cf 100644 --- a/Resources/Prototypes/Objectives/objectiveGroups.yml +++ b/Resources/Prototypes/Objectives/objectiveGroups.yml @@ -33,7 +33,7 @@ weights: EscapeShuttleObjective: 1 DieObjective: 0.05 - HijackShuttleObjective: 0.02 + #HijackShuttleObjective: 0.02 - type: weightedRandom id: TraitorObjectiveGroupSocial