2017-10-20 02:00:49 +00:00
|
|
|
Class Ext_TraitToxicDart extends Ext_TraitBase;
|
|
|
|
|
|
|
|
var array<int> DartDamages;
|
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
|
|
|
Perk.ToxicDartDamage = Default.DartDamages[Level-1];
|
|
|
|
Perk.bToxicDart = true;
|
|
|
|
}
|
2020-11-28 21:54:57 +00:00
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data)
|
2017-10-20 02:00:49 +00:00
|
|
|
{
|
|
|
|
Perk.bToxicDart = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
|
|
|
DefLevelCosts(0)=25
|
|
|
|
DefLevelCosts(1)=25
|
|
|
|
DefLevelCosts(2)=30
|
|
|
|
DartDamages(0)=15
|
|
|
|
DartDamages(1)=35
|
|
|
|
DartDamages(2)=70
|
|
|
|
NumLevels=3
|
|
|
|
}
|