From bfa8b0c9e89153c84ba378a9dbc1f8e6b50a0b1b Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 14 Nov 2024 18:02:16 +0000 Subject: [PATCH] Renamed function to maintain consistency --- project/src/generators/BotGenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/generators/BotGenerator.ts b/project/src/generators/BotGenerator.ts index 1bdc1a7c..b4b4d3fe 100644 --- a/project/src/generators/BotGenerator.ts +++ b/project/src/generators/BotGenerator.ts @@ -207,7 +207,7 @@ export class BotGenerator { botGenerationDetails.botDifficulty, botGenerationDetails.role, ); - bot.Info.Settings.AggressorBonus = this.getAgressorBonusForDifficulty( + bot.Info.Settings.AggressorBonus = this.getAgressorBonusByDifficulty( botJsonTemplate.experience.standingForKill, botGenerationDetails.botDifficulty, botGenerationDetails.role, @@ -313,7 +313,7 @@ export class BotGenerator { * @param role Role of bot (optional, used for error logging) * @returns Standing change value */ - protected getAgressorBonusForDifficulty( + protected getAgressorBonusByDifficulty( aggressorBonus: Record, botDifficulty: string, role: string,