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

17 lines
449 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
Class Ext_TraitFireExplode extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bFireExplode = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bFireExplode = false;
}
defaultproperties
{
TraitName="Fire Explosion"
DefLevelCosts(0)=50
Description="Make zombies sometimes explode when burned to death."
}