Server/project/src/models/spt/config/IBotDurability.ts

59 lines
1.1 KiB
TypeScript
Raw Normal View History

export interface IBotDurability
2023-03-03 15:23:46 +00:00
{
default: DefaultDurability;
pmc: PmcDurability;
boss: BotDurability;
follower: BotDurability;
assault: BotDurability;
cursedassault: BotDurability;
marksman: BotDurability;
pmcbot: BotDurability;
exusec: BotDurability;
gifter: BotDurability;
sectantpriest: BotDurability;
sectantwarrior: BotDurability;
2023-03-03 15:23:46 +00:00
}
/** Durability values to be used when a more specific bot type cant be found */
export interface DefaultDurability
2023-03-03 15:23:46 +00:00
{
armor: ArmorDurability;
weapon: WeaponDurability;
2023-03-03 15:23:46 +00:00
}
export interface PmcDurability
2023-03-03 15:23:46 +00:00
{
armor: PmcDurabilityArmor;
weapon: WeaponDurability;
2023-03-03 15:23:46 +00:00
}
export interface PmcDurabilityArmor
2023-03-03 15:23:46 +00:00
{
lowestMaxPercent: number;
highestMaxPercent: number;
maxDelta: number;
minDelta: number;
2023-03-03 15:23:46 +00:00
}
export interface BotDurability
2023-03-03 15:23:46 +00:00
{
armor: ArmorDurability;
weapon: WeaponDurability;
2023-03-03 15:23:46 +00:00
}
export interface ArmorDurability
2023-03-03 15:23:46 +00:00
{
maxDelta: number;
minDelta: number;
minLimitPercent: number;
2023-03-03 15:23:46 +00:00
}
export interface WeaponDurability
2023-03-03 15:23:46 +00:00
{
lowestMax: number;
highestMax: number;
maxDelta: number;
minDelta: number;
minLimitPercent: number;
}