diff --git a/Mod/Variants.cs b/Mod/Variants.cs index 845de95..5629231 100644 --- a/Mod/Variants.cs +++ b/Mod/Variants.cs @@ -22,8 +22,6 @@ public class MyMatchVariants : MatchVariants public Variant InfiniteArrows; [PerPlayer] public Variant NoDodgeCooldowns; - [PerPlayer] - public Variant GottaGoFast; public MyMatchVariants() { @@ -31,7 +29,6 @@ public MyMatchVariants() this.CreateLinks(NoHeadBounce, NoTimeLimit); this.CreateLinks(NoDodgeCooldowns, ShowDodgeCooldown); this.CreateLinks(AwfullyFastArrows, AwfullySlowArrows); - this.CreateLinks(SpeedBoots, GottaGoFast); } } @@ -58,34 +55,6 @@ public override int GetDodgeExitState() return base.GetDodgeExitState(); } - public override float MaxRunSpeed { - get { - float res = base.MaxRunSpeed; - if (((MyMatchVariants)Level.Session.MatchSettings.Variants).GottaGoFast[this.PlayerIndex]) { - return res * 1.4f; - } - return res; - } - } - - public override int NormalUpdate() - { - // SpeedBoots add little dust clouds below our feet... we want those too. - var gottaGoFast = ((MyMatchVariants)Level.Session.MatchSettings.Variants).GottaGoFast[this.PlayerIndex]; - bool hasSpeedBoots = Level.Session.MatchSettings.Variants.SpeedBoots[this.PlayerIndex]; - if (gottaGoFast) { - typeof(Engine).GetProperty("TimeMult").SetValue(null, Engine.TimeMult * 2f, null); - Level.Session.MatchSettings.Variants.SpeedBoots[this.PlayerIndex] = true; - } - int res = base.NormalUpdate(); - if (gottaGoFast) { - typeof(Engine).GetProperty("TimeMult").SetValue(null, Engine.TimeMult / 2f, null); - } - Level.Session.MatchSettings.Variants.SpeedBoots[this.PlayerIndex] = hasSpeedBoots; - ((MyMatchVariants)Level.Session.MatchSettings.Variants).GottaGoFast[this.PlayerIndex] = gottaGoFast; - return res; - } - public override void ShootArrow() { if (((MyMatchVariants)Level.Session.MatchSettings.Variants).InfiniteArrows[this.PlayerIndex]) { diff --git a/README.md b/README.md index 57ce138..43b833e 100644 --- a/README.md +++ b/README.md @@ -69,10 +69,6 @@ Koala hunters no more. ![](img/noDodgeCooldown.gif?raw=true) -### Gotta Go Fast! ![](Mod/Content/Atlas/menuAtlas/variants/gottaGoFast.png?raw=true) - -![](img/gottagofast.gif?raw=true) - ## UI Enhancements ### Win Counter