31 lines
656 B
Ucode
31 lines
656 B
Ucode
|
Class Ext_TraitInferno extends Ext_TraitBase;
|
||
|
|
||
|
var localized string GroupDescription;
|
||
|
|
||
|
function string GetPerkDescription()
|
||
|
{
|
||
|
local string S;
|
||
|
|
||
|
S = Super.GetPerkDescription();
|
||
|
S $= "|"$GroupDescription;
|
||
|
return S;
|
||
|
}
|
||
|
|
||
|
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
||
|
{
|
||
|
Ext_PerkFirebug(Perk).bUseInferno = true;
|
||
|
}
|
||
|
|
||
|
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
||
|
{
|
||
|
Ext_PerkFirebug(Perk).bUseInferno = false;
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
SupportedPerk=class'Ext_PerkFirebug'
|
||
|
TraitGroup=class'Ext_TGroupZEDTime'
|
||
|
NumLevels=1
|
||
|
DefLevelCosts(0)=50
|
||
|
//DefMinLevel=65
|
||
|
}
|