fixed mod chances

This commit is contained in:
Alex
2025-01-07 23:33:03 +00:00
parent 797a928614
commit d86cd909b2
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ public class BotEquipmentModGenerator
/// <param name="modSpawnChances">Chance dictionary to update</param>
/// <param name="modSlotsToAdjust"></param>
/// <param name="newChancePercent"></param>
public void AdjustSlotSpawnChances(ModsChances modSpawnChances, List<string> modSlotsToAdjust, double newChancePercent)
public void AdjustSlotSpawnChances(Dictionary<string, double> modSpawnChances, List<string> modSlotsToAdjust, double newChancePercent)
{
throw new NotImplementedException();
}
@@ -141,7 +141,7 @@ public class BotEquipmentModGenerator
/// <param name="modSpawnChances">Chances for various mod spawns</param>
/// <param name="botEquipConfig">Various config settings for generating this type of bot</param>
/// <returns>ModSpawn.SPAWN when mod should be spawned, ModSpawn.DEFAULT_MOD when default mod should spawn, ModSpawn.SKIP when mod is skipped</returns>
public ModSpawn ShouldModBeSpawned(Slot itemSlot, string modSlotName, ModsChances modSpawnChances, EquipmentFilters botEquipConfig)
public ModSpawn ShouldModBeSpawned(Slot itemSlot, string modSlotName, Dictionary<string, double> modSpawnChances, EquipmentFilters botEquipConfig)
{
throw new NotImplementedException();
}
+1 -1
View File
@@ -128,7 +128,7 @@ public class BotLootGenerator
/// <param name="botLevel"></param>
/// <param name="containersIdFull"></param>
public void AddLooseWeaponsToInventorySlot(string sessionId, BotBaseInventory botInventory, string equipmentSlot, BotBaseInventory templateInventory, // TODO: type for containersIdFull was Set<string>
ModsChances modsChances, string botRole, bool isPmc, int botLevel, List<string>? containersIdFull)
Dictionary<string, double> modsChances, string botRole, bool isPmc, int botLevel, List<string>? containersIdFull)
{
throw new NotImplementedException();
}
+2 -2
View File
@@ -28,7 +28,7 @@ public class BotWeaponGenerator
/// <param name="botLevel"></param>
/// <returns>GenerateWeaponResult object</returns>
public GenerateWeaponResult GenerateRandomWeapon(string sessionId, string equipmentSlot, BotBaseInventory botTemplateInventory, string weaponParentId,
ModsChances modChances, string botRole, bool isPmc, int botLevel)
Dictionary<string, double> modChances, string botRole, bool isPmc, int botLevel)
{
throw new NotImplementedException();
}
@@ -58,7 +58,7 @@ public class BotWeaponGenerator
/// <param name="botLevel">The level of the bot.</param>
/// <returns>GenerateWeaponResult object.</returns>
public GenerateWeaponResult GenerateWeaponByTpl(string sessionId, string weaponTpl, string slotName, BotBaseInventory botTemplateInventory,
string weaponParentId, ModsChances modChances, string botRole, bool isPmc, int botLevel)
string weaponParentId, Dictionary<string, double> modChances, string botRole, bool isPmc, int botLevel)
{
throw new NotImplementedException();
}