public static void BloonSpawnedEvent(InitialiseEvent.Pre e) { settings = JsonUtils.Load <Settings>(); int next = new Random().Next(0, 100); if (next > settings.chanceToBeStronger_zeroToOneHundred) { return; } BloonModel nextBloon = GetNextBloon(e.model.name); if (nextBloon != null) { e.model = nextBloon; } }
public static void TowerInitialiseEvent(InitialiseEvent.Pre e) { e.model = TowerUtils.GetTower(DefaultTowerIds.SuperMonkey); }