-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
100 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using HarmonyLib; | ||
using Il2CppAssets.Scripts.Simulation.Track; | ||
|
||
namespace BTD6Rogue; | ||
|
||
[HarmonyPatch(typeof(BossBloonManager), nameof(BossBloonManager.SpawnBoss))] | ||
internal static class BossBloonManager_SpawnBoss { | ||
|
||
[HarmonyPostfix] | ||
private static bool Prefix(BossBloonManager __instance) { | ||
return false; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using HarmonyLib; | ||
using Il2CppAssets.Scripts.Unity.UI_New.InGame; | ||
using Il2CppSystem; | ||
using Il2CppSystem.Collections; | ||
|
||
namespace BTD6Rogue; | ||
|
||
[HarmonyPatch(typeof(InGame), nameof(InGame.Initialise))] | ||
internal static class InGame_Initialise { | ||
|
||
[HarmonyPostfix] | ||
private static void Postfix(InGame __instance) { | ||
IEnumerator enumer = __instance.InstantiateUiObject(__instance.inGameMenuDefs[15]); | ||
enumer.MoveNext(); | ||
enumer.MoveNext(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using HarmonyLib; | ||
using Il2CppAssets.Scripts.Simulation.Bloons; | ||
using Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors; | ||
using Il2CppAssets.Scripts.Simulation.Bloons.Behaviors; | ||
using Il2CppSystem.Collections.Generic; | ||
|
||
namespace BTD6Rogue; | ||
|
||
[HarmonyPatch(typeof(SpawnChildren), nameof(SpawnChildren.CreatedChildren))] | ||
internal static class SpawnChildren_CreatedChildren { | ||
[HarmonyPostfix] | ||
private static void Postfix(SpawnChildren __instance, List<Bloon> childernCreatedIn) { | ||
if (__instance.bloon.emissionIndex >= 5000) { | ||
foreach (Bloon bloon in childernCreatedIn) { | ||
IncreaseBloonWorthModel.BloonWorthMutator bme = new IncreaseBloonWorthModel.BloonWorthMutator( | ||
"CashlessBloon", 0, 0, ""); | ||
bloon.AddMutator(bme, -1, false); | ||
} | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters