KF2-Server-Extension/ServerExt/Classes/Ext_TraitFireExplode.uc
2017-10-19 21:00:49 -05:00

17 lines
449 B
Ucode

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."
}