Ejemplo n.º 1
0
 internal static void Postfix(ref TravelStrait __instance)
 {
     if (__instance.projectile.projectileModel.display == "3c27c2e53b36c6346a6dd2766052c9e5" && selectedHero != TowerType.StrikerJones)
     {
         SellRandomTower();
     }
 }
        internal static void Postfix(ref TravelStrait __instance)
        {
            if (SessionData.CurrentSession.IsCheating)
            {
                return;
            }

            if (Settings.LoadedSettings.EnableInfiniteRange)
            {
                __instance.travelStraitModel.lifespan       = 150;
                __instance.travelStraitModel.lifespanFrames = 150;
            }
        }
Ejemplo n.º 3
0
 internal static void Postfix(ref TravelStrait __instance)
 {
     string[] asArray = randomizer.NextDouble() > 0.2 ? projectiles.ToArray() : towers.ToArray();
     __instance.projectile.projectileModel.display = asArray[randomizer.Next(asArray.Length)];
 }
Ejemplo n.º 4
0
 internal static void Postfix(ref TravelStrait __instance)
 {
     __instance.travelStraitModel.lifespan       = 300;
     __instance.travelStraitModel.Lifespan       = 300;
     __instance.travelStraitModel.lifespanFrames = 300;
 }