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

17 lines
458 B
Ucode
Raw Normal View History

2017-10-20 02:00:49 +00:00
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."
}