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

18 lines
505 B
Ucode

Class Ext_TraitBoomWeld extends Ext_TraitBase
abstract;
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bExplosiveWeld = true;
}
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
{
Perk.bExplosiveWeld = false;
}
defaultproperties
{
TraitName="Explosive Weld"
DefLevelCosts(0)=30
Description="Cases welded doors explode when broken by zeds. The more you weld one door, the bigger explosion."
}