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

62 lines
1.3 KiB
TypeScript
Raw Normal View History

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