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

25 lines
625 B
Ucode
Raw Normal View History

2021-03-02 15:58:53 +00:00
class MskGs_Survival extends KFGameInfo_Survival;
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_Survival");
}
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)
{
Super.DistributeMoneyAndXP(KFGIH.static.PickProxyZed(MonsterClass, Killer), DamageHistory, Killer);
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
2021-12-07 01:26:58 +00:00
}