KF2-MSK-GS/MskGs/Classes/MSKGS_Objective.uc
2022-08-17 10:53:13 +03:00

37 lines
786 B
Ucode

class MSKGS_Objective extends KFGameInfo_Objective;
const GIC = "KFGameContent.KFGameInfo_Objective";
var public IMSKGS_GameInfo GI;
var public IMSKGS MSKGS;
var public E_LogLevel LogLevel;
public simulated function ExileServerUsingKickBan()
{
`Log_Trace();
return;
}
public function UpdateGameSettings()
{
`Log_Trace();
if (GI != None)
{
GI.UpdateGameSettings(Self, GIC, MSKGS, bIsCustomGame, !IsUnrankedGame());
}
}
protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out array<DamageInfo> DamageHistory, Controller Killer)
{
`Log_Trace();
Super.DistributeMoneyAndXP(MSKGS == None ? MonsterClass : MSKGS.PickProxyZed(MonsterClass), DamageHistory, Killer);
}
defaultproperties
{
}