Ejemplo n.º 1
0
        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;
            }
        }
Ejemplo n.º 2
0
 public static void TowerInitialiseEvent(InitialiseEvent.Pre e)
 {
     e.model = TowerUtils.GetTower(DefaultTowerIds.SuperMonkey);
 }