Renamed function to maintain consistency

This commit is contained in:
Dev 2024-11-14 18:02:16 +00:00
parent 63a54113cb
commit bfa8b0c9e8

View File

@ -207,7 +207,7 @@ export class BotGenerator {
botGenerationDetails.botDifficulty, botGenerationDetails.botDifficulty,
botGenerationDetails.role, botGenerationDetails.role,
); );
bot.Info.Settings.AggressorBonus = this.getAgressorBonusForDifficulty( bot.Info.Settings.AggressorBonus = this.getAgressorBonusByDifficulty(
botJsonTemplate.experience.standingForKill, botJsonTemplate.experience.standingForKill,
botGenerationDetails.botDifficulty, botGenerationDetails.botDifficulty,
botGenerationDetails.role, botGenerationDetails.role,
@ -313,7 +313,7 @@ export class BotGenerator {
* @param role Role of bot (optional, used for error logging) * @param role Role of bot (optional, used for error logging)
* @returns Standing change value * @returns Standing change value
*/ */
protected getAgressorBonusForDifficulty( protected getAgressorBonusByDifficulty(
aggressorBonus: Record<string, number>, aggressorBonus: Record<string, number>,
botDifficulty: string, botDifficulty: string,
role: string, role: string,