18 lines
564 B
Ucode
18 lines
564 B
Ucode
|
Class Ext_TraitDireReload extends Ext_TraitBase;
|
||
|
|
||
|
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Ext_PerkSharpshooter(Perk).bHasDireReload = true;
|
||
|
}
|
||
|
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||
|
{
|
||
|
Ext_PerkSharpshooter(Perk).bHasDireReload = false;
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
SupportedPerk=class'Ext_PerkSharpshooter'
|
||
|
TraitName="Dire reloader"
|
||
|
DefLevelCosts(0)=35
|
||
|
Description="This trait will make you reload much faster when you have less then 40 health."
|
||
|
}
|