fish xp fix

master
Lan 5 years ago
parent 60d06eab53
commit 423ba5df88
  1. 5
      Kehyeedra3/Commands.cs

@ -593,10 +593,9 @@ namespace Kehyeedra3
{
weight = SRandom.Next(2000 + Convert.ToInt32(level*20), 40001);
}
if (weight > 500)
double w = Convert.ToDouble(weight);
if (weight >= 1000)
{
double w = Convert.ToDouble(weight);
xp = Convert.ToUInt64(Math.Round((xp * w / 1000), 0, MidpointRounding.ToEven));
}
}

Loading…
Cancel
Save