KF2-Server-Extension/ServerExt/Classes/Ext_TraitDemoDirectHit.uc
2020-06-26 03:55:53 +03:00

17 lines
448 B
Ucode

Class Ext_TraitDemoDirectHit extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkDemolition(Perk).bDirectHit = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Ext_PerkDemolition(Perk).bDirectHit = false;
}
defaultproperties
{
SupportedPerk=class'Ext_PerkDemolition'
DefLevelCosts(0)=65
DefMinLevel=35
}