import { BotDifficultyHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/BotDifficultyHelper.d.ts";
Constructors
new
BotDifficultyHelper(logger: ILogger,
jsonUtil: JsonUtil,
databaseServer: DatabaseServer,
randomUtil: RandomUtil,
localisationService: LocalisationService,
botHelper: BotHelper,
configServer: ConfigServer,
Properties
protected
botHelper: BotHelperprotected
configServer: ConfigServerprotected
databaseServer: DatabaseServerprotected
jsonUtil: JsonUtilprotected
localisationService: LocalisationServiceprotected
logger: ILoggerprotected
pmcConfig: IPmcConfigprotected
randomUtil: RandomUtilMethods
protected
getDifficultySettings(type: string, difficulty: string): DifficultyGet difficulty settings for a PMC
chooseRandomDifficulty(): string
Choose a random difficulty from - easy/normal/hard/impossible
convertBotDifficultyDropdownToBotDifficulty(dropDownDifficulty: string): string
Translate chosen value from pre-raid difficulty dropdown into bot difficulty value
getBotDifficultySettings(type: string, difficulty: string): Difficulty
Get difficulty settings for desired bot type, if not found use assault bot types
getPmcDifficultySettings(): Difficulty
pmcType: "bear" | "usec",
difficulty: string,
usecType: string,
bearType: string,