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

28 lines
668 B
Ucode
Raw Normal View History

2021-03-02 18:58:53 +03:00
class MskGs_Objective extends KFGameInfo_Objective;
2021-12-07 04:26:58 +03:00
var const class<KFGameInfoHelper> KFGIH;
2021-12-09 07:34:12 +03:00
var public MskGsMut Mut;
2021-03-25 16:26:13 +03:00
simulated function ExileServerUsingKickBan()
{
return;
}
2021-03-02 18:58:53 +03:00
function UpdateGameSettings()
{
2022-03-22 00:16:34 +03:00
KFGIH.static.UpdateGameSettings(Self, !IsUnrankedGame(), "KFGameContent.KFGameInfo_Objective", Mut);
2021-12-07 04:26:58 +03:00
}
2021-03-02 18:58:53 +03:00
2021-12-07 04:26:58 +03:00
protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out array<DamageInfo> DamageHistory, Controller Killer)
{
2021-12-09 07:34:12 +03:00
Super.DistributeMoneyAndXP(KFGIH.static.PickProxyZed(MonsterClass, Killer, Mut), DamageHistory, Killer);
2021-03-02 18:58:53 +03:00
}
defaultproperties
{
2021-12-07 04:26:58 +03:00
KFGIH=class'KFGameInfoHelper'
2021-03-02 18:58:53 +03:00
bIsCustomGame=False
2021-12-07 04:26:58 +03:00
}