Skip to content

Commit 13807bf

Browse files
committed
feat: modified script so that shroud only appears in games with 10 characters
1 parent 722273e commit 13807bf

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

Core.cs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,18 +139,18 @@ public override void OnLateInitializeMelon()
139139
shroudScript.startingTownsfolks = shroudTownsfolkList;
140140
shroudScript.startingOutsiders = ProjectContext.Instance.gameData.advancedAscension.possibleScriptsData[0].scriptInfo.startingOutsiders;
141141
shroudScript.startingMinions = ProjectContext.Instance.gameData.advancedAscension.possibleScriptsData[0].scriptInfo.startingMinions;
142-
CharactersCount shroudCounter1 = new CharactersCount(7, 4, 1, 1, 1);
143-
shroudCounter1.dOuts = shroudCounter1.outs + 1;
144-
CharactersCount shroudCounter2 = new CharactersCount(8, 5, 1, 1, 1);
145-
shroudCounter2.dOuts = shroudCounter2.outs + 1;
146-
CharactersCount shroudCounter3 = new CharactersCount(9, 5, 1, 2, 1);
147-
shroudCounter3.dOuts = shroudCounter3.outs + 1;
142+
// CharactersCount shroudCounter1 = new CharactersCount(7, 4, 1, 1, 1);
143+
// shroudCounter1.dOuts = shroudCounter1.outs + 1;
144+
// CharactersCount shroudCounter2 = new CharactersCount(8, 5, 1, 1, 1);
145+
// shroudCounter2.dOuts = shroudCounter2.outs + 1;
146+
// CharactersCount shroudCounter3 = new CharactersCount(9, 5, 1, 2, 1);
147+
// shroudCounter3.dOuts = shroudCounter3.outs + 1;
148148
CharactersCount shroudCounter4 = new CharactersCount(10, 6, 1, 1, 2);
149149
shroudCounter4.dOuts = shroudCounter4.outs + 1;
150150
Il2CppSystem.Collections.Generic.List<CharactersCount> shroudCounterList = new Il2CppSystem.Collections.Generic.List<CharactersCount>();
151-
shroudCounterList.Add(shroudCounter1);
152-
shroudCounterList.Add(shroudCounter2);
153-
shroudCounterList.Add(shroudCounter3);
151+
// shroudCounterList.Add(shroudCounter1);
152+
// shroudCounterList.Add(shroudCounter2);
153+
// shroudCounterList.Add(shroudCounter3);
154154
shroudCounterList.Add(shroudCounter4);
155155
shroudScript.characterCounts = shroudCounterList;
156156
shroudScriptData.scriptInfo = shroudScript;
@@ -212,9 +212,11 @@ private void OnCharacterRevealed(Character revealed)
212212
PlayerController.PlayerInfo.health.Damage(1);
213213
}
214214

215-
if (charData.characterId == "sabo_rdm") {
215+
if (charData.characterId == "sabo_rdm")
216+
{
216217
PlayerController.PlayerInfo.health.Damage(4);
217218
}
219+
218220
}
219221

220222

0 commit comments

Comments
 (0)