18 lines
520 B
Ucode
18 lines
520 B
Ucode
|
Class Ext_TraitSirenResistance extends Ext_TraitBase;
|
||
|
|
||
|
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Ext_PerkDemolition(Perk).bSirenResistance = true;
|
||
|
}
|
||
|
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Ext_PerkDemolition(Perk).bSirenResistance = false;
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
TraitName="Siren Resistance"
|
||
|
DefLevelCosts(0)=50
|
||
|
DefMinLevel=75
|
||
|
Description="Make all your projectiles resistant to siren screams."
|
||
|
}
|