From 01e63118c6b6ba4aed4d3a122ea749608487cc19 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 9 Jan 2024 10:58:06 +0000 Subject: [PATCH] Rename function --- project/src/generators/BotEquipmentModGenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/generators/BotEquipmentModGenerator.ts b/project/src/generators/BotEquipmentModGenerator.ts index 6b2b9391..86da91c0 100644 --- a/project/src/generators/BotEquipmentModGenerator.ts +++ b/project/src/generators/BotEquipmentModGenerator.ts @@ -106,7 +106,7 @@ export class BotEquipmentModGenerator forceSpawn = true; } - const modPoolToChooseFrom = this.filterPlateModsForSlot(settings, modSlot.toLowerCase(), compatibleModsPool[modSlot], parentTemplate); + const modPoolToChooseFrom = this.filterPlateModsForSlotByLevel(settings, modSlot.toLowerCase(), compatibleModsPool[modSlot], parentTemplate); let modTpl: string; let found = false; @@ -177,7 +177,7 @@ export class BotEquipmentModGenerator * @param armorItem * @returns Array of plate tpls to choose from */ - protected filterPlateModsForSlot(settings: IGenerateEquipmentProperties, modSlot: string, modPool: string[], armorItem: ITemplateItem): string[] + protected filterPlateModsForSlotByLevel(settings: IGenerateEquipmentProperties, modSlot: string, modPool: string[], armorItem: ITemplateItem): string[] { // Not pmc or not a plate slot, return original mod pool array if (!this.slotIsPlate(modSlot))