1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFDifficulty_ClotAlphaKing.uc
2020-12-13 18:01:13 +03:00

58 lines
2.3 KiB
Ucode

//=============================================================================
// KFDifficulty_ClotAlphaKing
//=============================================================================
// Per Zed, per difficulty balance settings
//=============================================================================
// Killing Floor 2
// Copyright (C) 2016 Tripwire Interactive LLC
//=============================================================================
class KFDifficulty_ClotAlphaKing extends KFDifficulty_ClotAlpha
abstract;
/** Struct containing values for Alpha Clot rallies */
struct sRallyTriggerInfo
{
/** Chance to rally when all conditions are met */
var float RallyChance;
/** Cooldown between rallies */
var float Cooldown;
/** How much to modify dealt damage on self when rallying */
var float SelfDealtDamageModifier;
/** How much to modify taken damage on self when rallying */
var float SelfTakenDamageModifier;
};
/** Per-difficulty rally settings */
var const array<sRallyTriggerInfo> RallyTriggerSettings;
defaultproperties
{
// Normal difficulty
Normal={(HealthMod=0.750000,
HeadHealthMod=0.750000,
RallySettings={(bCanRally=false)}
)}
// Hard difficulty
Hard={(DamagedSprintChance=0.050000,
RallySettings={(bCanRally=false)}
)}
// Suicidal difficulty
Suicidal={(SprintChance=0.050000, //0.15
DamagedSprintChance=1.000000,
RallySettings={(bCauseSprint=true, DealtDamageModifier=2.0, TakenDamageModifier=0.5)} // 1.2
)}
// Hell On Earth difficulty
HellOnEarth={(SprintChance=0.750000,
DamagedSprintChance=1.000000,
RallySettings={(bCauseSprint=true, DealtDamageModifier=2.0, TakenDamageModifier=0.5)} //{(bCauseSprint=true, DealtDamageModifier=1.5, TakenDamageModifier=0.9)}
)}
// Settings for triggering a rally
RallyTriggerSettings(`DIFFICULTY_Normal) ={(RallyChance=0.00, Cooldown=15.0, SelfTakenDamageModifier=0.10, SelfDealtDamageModifier=2.50)}
RallyTriggerSettings(`DIFFICULTY_Hard) ={(RallyChance=0.00, Cooldown=15.0, SelfTakenDamageModifier=0.10, SelfDealtDamageModifier=2.50)}
RallyTriggerSettings(`DIFFICULTY_Suicidal) ={(RallyChance=0.70, Cooldown=15.0, SelfTakenDamageModifier=0.10, SelfDealtDamageModifier=2.50)}
RallyTriggerSettings(`DIFFICULTY_HellOnEarth) ={(RallyChance=0.80, Cooldown=15.0, SelfTakenDamageModifier=0.10, SelfDealtDamageModifier=2.50)}
}