Skip to content

Commit

Permalink
Fix UC crash
Browse files Browse the repository at this point in the history
  • Loading branch information
doombubbles committed Jun 2, 2024
1 parent f061217 commit 4240e6f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LATEST.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fixed displays for BTD6 v43
- Fixed obscure crash with Ultimate Crosspathing
2 changes: 1 addition & 1 deletion ModHelperData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public static class ModHelperData
{
public const string WorksOnVersion = "43.0";
public const string Version = "1.2.9";
public const string Version = "1.2.10";
public const string Name = "Card Monkey";
public const string Description =
"Adds in a new custom tower themed around playing cards.";
Expand Down
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,9 @@ Card Monkey
<img alt="Card Monkey Paragon" width="300" height="300" src="Upgrades/GodKingOfSpades-Portrait.png"/>
</p>





Completed:

* All 15 Upgrade Implementations (+ Crosspathing)
* All Upgrade Icons
* Some Portrait textures
* Some custom/modified Display Models

Yet to Come:

* Flesh out the Display Models for Tier 3-4 crosspaths, and touch up the Tier 1 - 2 crosspaths
* Make the different Upgrade Portrait artwork
* More balancing on the costs and strengths of the upgrades

[![Requires BTD6 Mod Helper](https://raw.githubusercontent.com/gurrenm3/BTD-Mod-Helper/master/banner.png)](https://github.com/gurrenm3/BTD-Mod-Helper#readme)
5 changes: 2 additions & 3 deletions Upgrades/BottomPath/TwistOfFate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ public override void ApplyUpgrade(TowerModel tower)
sound.sound1, sound.sound2, sound.sound3, sound.sound4, sound.sound5);
redCard.projectile.AddBehavior(soundBehavior);

var eB = new CreateEffectOnExhaustedModel("CreateEffectOnExhaustedModel_", new PrefabReference(), 0f,
Fullscreen.No,
false, effect.effectModel);
var eB = new CreateEffectOnExhaustedModel("CreateEffectOnExhaustedModel_", new PrefabReference(""), 0f,
Fullscreen.No, false, effect.effectModel);
redCard.projectile.AddBehavior(eB);
redCard.Rate *= 0.8f;
}
Expand Down

0 comments on commit 4240e6f

Please sign in to comment.