1
0
KF2-Dev-Scripts/KFGame/Classes/KFPerk_Monster.uc

41 lines
1.1 KiB
Ucode
Raw Permalink Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFPerk_Monster
//=============================================================================
// The perk class used when playing versus as Zed
//=============================================================================
// Killing Floor 2
// Copyright (C) 2016 Tripwire Interactive LLC
// Christian "schneidzekk" Schneider
//=============================================================================
class KFPerk_Monster extends KFPerk
native;
simulated event PostBeginPlay()
{
local KFPlayerReplicationInfo KFPRI;
super.PostBeginPlay();
if( Owner == none )
{
return;
}
KFPRI = KFPlayerReplicationInfo(KFPlayerController(Owner).PlayerReplicationInfo);
if( KFPRI != none )
{
KFPRI.bExtraFireRange = false;
KFPRI.bSplashActive = false;
KFPRI.bNukeActive = false;
KFPRI.bConcussiveActive = false;
KFPRI.PerkSupplyLevel = 0;
}
}
defaultproperties
{
PerkIcon=Texture2D'UI_PerkIcons_TEX.UI_PerkIcon_ZED'
ProgressStatID=INDEX_NONE
PerkBuildStatID=INDEX_NONE
}