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

17 lines
458 B
Ucode

Class Ext_TraitContactNade extends Ext_TraitBase;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bExplodeOnContact = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bExplodeOnContact = false;
}
defaultproperties
{
TraitName="Explode on Contact"
DefLevelCosts(0)=25
Description="Make dynamites explode on contact with the ZED."
}