From 9538811d5372af82b090185d59b30c97983e38e9 Mon Sep 17 00:00:00 2001 From: Pabienko <47324640+pabienko@users.noreply.github.com> Date: Mon, 29 Sep 2025 00:57:02 +0200 Subject: [PATCH] Update ModPlayer.cs Fixed the problem with wing time bonus not updating and thus not adding any extra time to the wing time --- Utility/ModPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/ModPlayer.cs b/Utility/ModPlayer.cs index a669005..9a97440 100644 --- a/Utility/ModPlayer.cs +++ b/Utility/ModPlayer.cs @@ -310,7 +310,6 @@ public override void ResetEffects() { //mobility Player.maxRunSpeed *= 1.00f + (mobility * LevelPlusConfig.Instance.RunSpeedPerPoint); Player.runAcceleration *= 1.00f + (mobility * LevelPlusConfig.Instance.AccelPerPoint); - Player.wingTimeMax += (int)(Player.wingTimeMax * (mobility * LevelPlusConfig.Instance.WingPerPoint)); //mysticism Player.statManaMax2 += (LevelPlusConfig.Instance.ManaPerLevel * level) + (LevelPlusConfig.Instance.ManaPerPoint * mysticism); Player.manaRegen += mysticism / LevelPlusConfig.Instance.ManaRegPerPoint; @@ -320,6 +319,7 @@ public override void ResetEffects() { public override void PostUpdateEquips() { base.PostUpdateEquips(); Player.maxMinions += animalia / LevelPlusConfig.Instance.MinionPerPoint; + Player.wingTimeMax += (int)(Player.wingTimeMax * (mobility * LevelPlusConfig.Instance.WingPerPoint)); } public override void ModifyManaCost(Item item, ref float reduce, ref float mult) {