Skip to content

Commit

Permalink
FUCK
Browse files Browse the repository at this point in the history
  • Loading branch information
Derpy-Jacob-903 committed Jun 28, 2024
1 parent 56c3e2c commit a046afb
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 73 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,7 @@ ASALocalRun/

# BeatPulse healthcheck temp database
healthchecksdb
BTD6White.webp
RedIce.webp
White_Bloon.svg
White_Bloon.webp
139 changes: 66 additions & 73 deletions bloons/CamoOrange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,28 @@
using Il2CppAssets.Scripts.Models.Bloons.Behaviors;
using Il2CppSystem;
using System;
using UnityEngine.UIElements;
using Il2CppNinjaKiwi.Common.ResourceUtils;

namespace ClassicTowers.Bloons;
public abstract class Olive : ModBloon //Pre BTD4 Black
{
public override string BaseBloon => BloonType.Purple;
public override SpriteReference IconReference => (SpriteReference)VanillaSprites.Green;
//public override bool Camo => true;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "Olive";
bloonModel.baseId = "Olive";
bloonModel.name = "Olive";
//bloonModel.tags = ["Camo"];
bloonModel.speed = 35.0f;
bloonModel.Speed = 35.0f;
bloonModel.AddToChildren(BloonType.Pink, 2); //Not Camo
bloonModel.AddToChildren(BloonType.Pink); //Not Camo
bloonModel.AddToChildren(BloonType.Pink);
bloonModel.bloonProperties = 0;


}
}
public class OliveRegrow : ModBloon<Olive>
{
public override bool Regrow => true;
public override SpriteReference IconReference => (SpriteReference)VanillaSprites.Green;

public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
Expand All @@ -38,33 +37,32 @@ public override void ModifyBaseBloonModel(BloonModel bloonModel)
public class OliveCamo : ModBloon<Olive>
{
public override bool Camo => true;
public override SpriteReference IconReference => (SpriteReference)VanillaSprites.Green;

public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
//bloonModel.MakeChildrenCamo();
bloonModel.MakeChildrenCamo();
}
}

public class OliveRegrowCamo : ModBloon<Olive>
{
public override bool Regrow => true;
public override bool Camo => true;
public override SpriteReference IconReference => (SpriteReference)VanillaSprites.Green;
public override bool KeepBaseId => true;

public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.MakeChildrenRegrow();
//bloonModel.MakeChildrenCamo();
bloonModel.MakeChildrenCamo();
}
}
public abstract class ClassicBlack : ModBloon //Pre BTD4 Black
{
public override string BaseBloon => BloonType.Black;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicBlack";
bloonModel.baseId = "ClassicBlack";
bloonModel.name = "ClassicBlack";
//bloonModel.tags = ["Camo"];
bloonModel.bloonProperties = (Il2Cpp.BloonProperties)10;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren(BloonType.Yellow,2);
Expand All @@ -76,11 +74,6 @@ public abstract class ClassicWhite : ModBloon
public override string BaseBloon => BloonType.White;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicWhite";
bloonModel.baseId = "ClassicWhite";
bloonModel.name = "ClassicWhite";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren(BloonType.Yellow, 2);
bloonModel.layerNumber--;
Expand All @@ -91,28 +84,33 @@ public abstract class ClassicLead : ModBloon
public override string BaseBloon => BloonType.Lead;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicLead";
bloonModel.baseId = "ClassicLead";
bloonModel.name = "ClassicLead";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicBlack>(2);
bloonModel.AddToChildren(BloonID<ClassicBlack>(), 2);
bloonModel.layerNumber--;
}
}
public abstract class ClassicIce : ModBloon
{
public override string BaseBloon => BloonType.Lead;

public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicIce";
bloonModel.baseId = "ClassicIce";
bloonModel.name = "ClassicIce";
//bloonModel.tags = ["Camo"];
bloonModel.speed = 25;
bloonModel.bloonProperties = (Il2Cpp.BloonProperties)20;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicWhite>(2);
bloonModel.AddToChildren(BloonID<ClassicWhite>(),2);
bloonModel.layerNumber--;
}
}
public abstract class IceBloon : ModBloon
{
public override string BaseBloon => BloonType.Lead;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.speed = 25;
bloonModel.bloonProperties = Il2Cpp.BloonProperties.Frozen;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren(BloonType.White,2);
bloonModel.layerNumber--;
}
}
Expand All @@ -122,14 +120,9 @@ public abstract class ClassicRainbow : ModBloon
public override string BaseBloon => BloonType.Rainbow;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicRainbow";
bloonModel.baseId = "ClassicRainbow";
bloonModel.name = "ClassicRainbow";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicBlack>(2);
bloonModel.AddToChildren<ClassicWhite>(2);
bloonModel.AddToChildren(BloonID<ClassicBlack>(), 2);
bloonModel.AddToChildren(BloonID<ClassicWhite>(), 2);
bloonModel.layerNumber--;
bloonModel.layerNumber--;
}
Expand All @@ -138,13 +131,8 @@ public abstract class ClassicSuperRainbow : ModBloon<ClassicRainbow>
{
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicSuperRainbow";
bloonModel.baseId = "ClassicSuperRainbow";
bloonModel.name = "ClassicSuperRainbow";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicSuperZebra>(1);
bloonModel.AddToChildren(BloonID<ClassicSuperZebra>(), 2);
bloonModel.layerNumber--;
bloonModel.layerNumber--;
}
Expand All @@ -155,12 +143,6 @@ public abstract class ClassicSuperZebra : ModBloon
public override string BaseBloon => BloonType.Zebra;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicSuperZebra";
bloonModel.baseId = "ClassicSuperZebra";
bloonModel.name = "ClassicSuperZebra";

//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren(BloonType.Yellow, 1);
bloonModel.layerNumber--;
Expand All @@ -172,60 +154,71 @@ public abstract class ClassicCeramic : ModBloon
public override string BaseBloon => BloonType.Ceramic;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicCeramic";
bloonModel.baseId = "ClassicCeramic";
bloonModel.name = "ClassicCeramic";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.bloonProperties = Il2Cpp.BloonProperties.White;
bloonModel.maxHealth = 9;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicRainbow>(1);
bloonModel.AddToChildren(BloonID<ClassicRainbow>(), 2);
bloonModel.layerNumber--;
}
}
public abstract class ClassicCeramicF : ModBloon<ClassicCeramic>
{
public override bool Fortified => true;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.maxHealth = 32;
}
}
public abstract class ClassicSuperCeramic : ModBloon<ClassicCeramic>
{
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicSuperCeramic";
bloonModel.baseId = "ClassicSuperCeramic";
bloonModel.name = "ClassicSuperCeramic";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.bloonProperties = Il2Cpp.BloonProperties.White;
bloonModel.maxHealth = 9;
bloonModel.maxHealth = 9; // 54
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren(BloonID<ClassicSuperRainbow>(), 1);
bloonModel.layerNumber--;
}
}
public abstract class ClassicSuperCeramicF : ModBloon<ClassicSuperCeramic>
{
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.bloonProperties = Il2Cpp.BloonProperties.White;
bloonModel.maxHealth = 32; // 192
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicSuperRainbow>(1);
bloonModel.AddToChildren(BloonID<ClassicRainbow>(), 2);
bloonModel.layerNumber--;
}
}
public abstract class ClassicDreadrock : ModBloon
{
public override string BaseBloon => "DreadRockBloonStandard1";
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.RemoveAllChildren();
bloonModel.maxHealth = 300;
bloonModel.AddToChildren(BloonID<ClassicRainbow>(), 2);
}
}
public abstract class ClassicMoab : ModBloon
{
public override string BaseBloon => BloonType.Moab;
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicMoab";
bloonModel.baseId = "ClassicMoab";
bloonModel.name = "ClassicMoab";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicCeramic>(4);
bloonModel.AddToChildren(BloonID<ClassicCeramic>(), 4);
bloonModel.AddBehavior<BadImmunityModel>(new BadImmunityModel("BadImmunityModel_ClassicMoab"));
bloonModel.layerNumber--;
}
}
public abstract class ClassicSuperMoab : ModBloon<ClassicMoab>
{
public override void ModifyBaseBloonModel(BloonModel bloonModel)
{
bloonModel.id = "ClassicSuperMoab";
bloonModel.baseId = "ClassicSuperMoab";
bloonModel.name = "ClassicSuperMoab";
//bloonModel.tags = ["Camo"];
//bloonModel.bloonProperties = 0;
bloonModel.RemoveAllChildren();
bloonModel.AddToChildren<ClassicSuperCeramic>(4);
bloonModel.AddToChildren(BloonID<ClassicSuperCeramic>(), 4);
bloonModel.AddBehavior<BadImmunityModel>(new BadImmunityModel("BadImmunityModel_ClassicMoab"));
bloonModel.layerNumber--;
}
}

0 comments on commit a046afb

Please sign in to comment.