Remnants activates Overhaul's "no speed boost" effect due to its own move speed changes
This commit is contained in:
1 parent
0e4299b94d
commit
ac255745cf
2 files changed
+12
-10
No files matched your search
@@ -479,13 +479,17 @@ namespace CalamityMod.CalPlayer
|
||||
IsFirstDashFrame = false;
|
||||
else
|
||||
IsFirstDashFrame = true;
|
||||
|
||||
|
||||
// THIS MUST BE NEAR THE END OF PostUpdateMiscEffects SO ALL OTHER RUN SPEED IS DONE FIRST. DO NOT PUT ANY RUN SPEED AFTER THIS
|
||||
|
||||
|
||||
// Multiplies movement speed by 1.5x so that you don't feel like a snail in the early game.
|
||||
// This applies to movement speed boosts as well as base speed to ensure they are actually worth their listed value compared to base speed
|
||||
//
|
||||
// Disabled while Overhaul is enabled, because Overhaul does very similar things to make movement more snappy
|
||||
if (ExternalMods.overhaul is null && CalamityServerConfig.Instance.FasterBaseSpeed)
|
||||
// 22JUN2025: Ozzatron: Disabled while Remnants is enabled, because Remnants has its own move speed reworks.
|
||||
|
||||
bool ignoreSpeedConfig = ExternalMods.overhaul is not null || ExternalMods.remnants is not null;
|
||||
if (!ignoreSpeedConfig && CalamityServerConfig.Instance.FasterBaseSpeed)
|
||||
Player.moveSpeed *= BalancingConstants.DefaultMoveSpeedBoost;
|
||||
|
||||
// This is used to increase horizontal velocity based on the player's movement speed stat.
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod
|
||||
{
|
||||
@@ -31,6 +25,7 @@ namespace CalamityMod
|
||||
internal static Mod magicStorage = null;
|
||||
internal static Mod overhaul = null;
|
||||
internal static Mod redemption = null;
|
||||
internal static Mod remnants = null;
|
||||
internal static Mod soa = null;
|
||||
internal static Mod subworldLibrary = null;
|
||||
internal static Mod summonersAssociation = null;
|
||||
@@ -67,6 +62,8 @@ namespace CalamityMod
|
||||
ModLoader.TryGetMod("TerrariaOverhaul", out overhaul);
|
||||
redemption = null;
|
||||
ModLoader.TryGetMod("Redemption", out redemption);
|
||||
remnants = null;
|
||||
ModLoader.TryGetMod("Remnants", out remnants);
|
||||
soa = null;
|
||||
ModLoader.TryGetMod("SacredTools", out soa);
|
||||
subworldLibrary = null;
|
||||
@@ -97,6 +94,7 @@ namespace CalamityMod
|
||||
magicStorage = null;
|
||||
overhaul = null;
|
||||
redemption = null;
|
||||
remnants = null;
|
||||
soa = null;
|
||||
subworldLibrary = null;
|
||||
summonersAssociation = null;
|
||||
|
||||
Reference in new issue
Block a user