From 2c56e19620532bde71e87cee660043a20949c1a6 Mon Sep 17 00:00:00 2001 From: ilikecats Date: Sun, 14 Jul 2024 12:46:36 -0700 Subject: [PATCH] Nitro and zipper are faster + update README.cat --- README.cat | 6 ++++-- src/karts/kart_properties.cpp | 11 ++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.cat b/README.cat index a11d90702..9c4bc7c3a 100644 --- a/README.cat +++ b/README.cat @@ -10,8 +10,10 @@ What I've changed in the mod: - Using nitro gives you nitro, instead of taking it away (can help beating nitro collecting levels). -- Nitro engine force and mult are multiplied by two each. +- Nitro engine force and mult are multiplied by 2.5 each. - There is no more auto rescue, use backspace instead. -- The speed limit is practically removed (set to the highest float possible) \ No newline at end of file +- The speed limit is practically removed (set to the highest float possible) + +- The zipper powerup is VERY fast now, test it in the story mode level select level first. diff --git a/src/karts/kart_properties.cpp b/src/karts/kart_properties.cpp index 120fa5dca..57190db4b 100644 --- a/src/karts/kart_properties.cpp +++ b/src/karts/kart_properties.cpp @@ -1013,19 +1013,20 @@ float KartProperties::getZipperDuration() const // ---------------------------------------------------------------------------- float KartProperties::getZipperForce() const { - return m_cached_characteristic->getZipperForce(); + return m_cached_characteristic->getZipperForce() * 2.0f; } // getZipperForce // ---------------------------------------------------------------------------- float KartProperties::getZipperSpeedGain() const { - return m_cached_characteristic->getZipperSpeedGain(); + return m_cached_characteristic->getZipperSpeedGain() * 2.0f; } // getZipperSpeedGain // ---------------------------------------------------------------------------- float KartProperties::getZipperMaxSpeedIncrease() const { - return m_cached_characteristic->getZipperMaxSpeedIncrease(); + return 340282346638528859811704183484516925440.0f; + //return m_cached_characteristic->getZipperMaxSpeedIncrease(); } // getZipperMaxSpeedIncrease // ---------------------------------------------------------------------------- @@ -1151,13 +1152,13 @@ float KartProperties::getNitroDuration() const // ---------------------------------------------------------------------------- float KartProperties::getNitroEngineForce() const { - return m_cached_characteristic->getNitroEngineForce() * 2.0f; + return m_cached_characteristic->getNitroEngineForce() * 2.5f; } // getNitroEngineForce // ---------------------------------------------------------------------------- float KartProperties::getNitroEngineMult() const { - return m_cached_characteristic->getNitroEngineMult() * 2.0f; + return m_cached_characteristic->getNitroEngineMult() * 2.5f; } // getNitroEngineMult // ----------------------------------------------------------------------------