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

29 lines
745 B
Ucode
Raw Normal View History

2021-03-02 15:58:53 +00:00
class MskGs_Objective extends KFGameInfo_Objective;
2021-12-07 01:26:58 +00:00
var const class<KFGameInfoHelper> KFGIH;
2021-12-09 04:34:12 +00:00
var public MskGsMut Mut;
2021-03-25 13:26:13 +00:00
simulated function ExileServerUsingKickBan()
{
return;
}
2021-03-02 15:58:53 +00:00
function UpdateGameSettings()
{
2022-03-21 21:16:34 +00:00
KFGIH.static.UpdateGameSettings(Self, !IsUnrankedGame(), "KFGameContent.KFGameInfo_Objective", Mut);
2021-12-07 01:26:58 +00:00
}
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)
{
2022-05-11 15:42:07 +00:00
`log(">>>>>>>>>>" @ KFGIH.static.PickProxyZed(MonsterClass, Killer, Mut));
2021-12-09 04:34:12 +00:00
Super.DistributeMoneyAndXP(KFGIH.static.PickProxyZed(MonsterClass, Killer, Mut), 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
}