Core/Misc: Misc fixes

This commit is contained in:
hondacrx
2018-05-06 15:29:39 -04:00
parent 90e99102fd
commit d84fe44a81
7 changed files with 38 additions and 34 deletions
+1 -1
View File
@@ -1111,7 +1111,7 @@ namespace Game.Entities
byte level = (byte)(minlevel == maxlevel ? minlevel : RandomHelper.URand(minlevel, maxlevel));
SetLevel(level);
if (!HasScalableLevels())
if (HasScalableLevels())
{
SetUInt32Value(UnitFields.ScalingLevelMin, cInfo.levelScaling.Value.MinLevel);
SetUInt32Value(UnitFields.ScalingLevelMax, cInfo.levelScaling.Value.MaxLevel);