starting TC penalties for powerful roles (#11111)
* starting TC based on role * actually just remove all the job changes * reviews * moment
This commit is contained in:
@@ -184,6 +184,9 @@ public sealed class TraitorRuleSystem : GameRuleSystem
|
||||
|
||||
var startingBalance = _cfg.GetCVar(CCVars.TraitorStartingBalance);
|
||||
|
||||
if (mind.CurrentJob != null)
|
||||
startingBalance = Math.Max(startingBalance - mind.CurrentJob.Prototype.AntagAdvantage, 0);
|
||||
|
||||
if (!_uplink.AddUplink(mind.OwnedEntity!.Value, startingBalance))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user