KF2-MSK-GS/MskGs/Classes/MskGs_WeeklySurvival.uc

25 lines
643 B
Ucode
Raw Normal View History

2021-03-02 15:58:53 +00:00
class MskGs_WeeklySurvival extends KFGameInfo_WeeklySurvival;
2021-12-07 01:26:58 +00:00
var const class<KFGameInfoHelper> KFGIH;
2021-03-25 13:26:13 +00:00
simulated function ExileServerUsingKickBan()
{
return;
}
2021-03-02 15:58:53 +00:00
function UpdateGameSettings()
{
2021-12-07 01:26:58 +00:00
KFGIH.static.UpdateGameSettings(Self, !IsUnrankedGame(), "KFGameContent.KFGameInfo_WeeklySurvival");
2021-03-02 15:58:53 +00:00
}
2021-12-07 01:26:58 +00:00
protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out array<DamageInfo> DamageHistory, Controller Killer)
2021-03-06 15:17:28 +00:00
{
2021-12-07 01:26:58 +00:00
Super.DistributeMoneyAndXP(KFGIH.static.PickProxyZed(MonsterClass, Killer), DamageHistory, Killer);
2021-03-06 15:17:28 +00:00
}
2021-03-02 15:58:53 +00:00
defaultproperties
{
2021-12-07 01:26:58 +00:00
KFGIH=class'KFGameInfoHelper'
2021-03-02 15:58:53 +00:00
bIsCustomGame=False
}