KF2-Server-Extension/ServerExt/Classes/Ext_TraitNapalm.uc

17 lines
418 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
Class Ext_TraitNapalm extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bNapalmFire = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bNapalmFire = false;
}
defaultproperties
{
TraitName="Napalm"
DefLevelCosts(0)=35
Description="Make zombies lit each other on fire."
}