예제 #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;
            }
        }
예제 #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)];
 }
예제 #4
0
파일: Main.cs 프로젝트: leelaoke/btd6_mods
 internal static void Postfix(ref TravelStrait __instance)
 {
     __instance.travelStraitModel.lifespan       = 300;
     __instance.travelStraitModel.Lifespan       = 300;
     __instance.travelStraitModel.lifespanFrames = 300;
 }