Renamed Minmax to MinMaxDouble and added MinMaxInt
Swapped various doubles for ints across loot generator and airdrop code paths Fixed forced airdrop loot being returned with a decimal stack count
This commit is contained in:
@@ -360,7 +360,7 @@ public class BotEquipmentModGenerator(
|
||||
return result;
|
||||
}
|
||||
|
||||
private MinMax GetMinMaxArmorPlateClass(List<TemplateItem> platePool)
|
||||
private MinMaxDouble GetMinMaxArmorPlateClass(List<TemplateItem> platePool)
|
||||
{
|
||||
platePool.Sort(
|
||||
(x, y) =>
|
||||
@@ -379,7 +379,7 @@ public class BotEquipmentModGenerator(
|
||||
}
|
||||
);
|
||||
|
||||
return new MinMax
|
||||
return new MinMaxDouble
|
||||
{
|
||||
Min = platePool[0].Properties.ArmorClass,
|
||||
Max = platePool[platePool.Count - 1].Properties.ArmorClass
|
||||
|
||||
Reference in New Issue
Block a user