fixed mod chances
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user