Skip to content

Commit

Permalink
Fixed Player weight gain from Belt
Browse files Browse the repository at this point in the history
  • Loading branch information
nxPublic committed Mar 22, 2021
1 parent 149e08e commit de08ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ValheimPlus/GameClasses/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private static bool Prefix(ref SEMan __instance, ref float baseLimit, ref float
{
if (statusEffect.m_name.Contains("beltstrength"))
{
limit = baseLimit + Configuration.Current.Player.baseMegingjordBuff;
limit = (baseLimit - 150) + Configuration.Current.Player.baseMegingjordBuff;
statusEffect.ModifyMaxCarryWeight(baseLimit, ref limit);
}

Expand Down

0 comments on commit de08ec8

Please sign in to comment.