88f2c71e54
Fixed scoreboard avatars not working Added the ServerExt perk menu to the lobby Made the perk buttons look better (Reset, Unload, Prestige) Added a better damage popup system Added a better pet info hud system Made player info bars fade out with distance Added missing traits from most of the perks Made lobby menu support 12 players Medic Pistol from the trait can't be dropped, sold and has infinite ammo 9mm Pistol now has infinite ammo Pet sirens do not blow up grenades Unlocked all cosmetics and emotes Hide bad cosmetics that were debug Hans pet no longer forces the camera on his death Custom weapons in the trader now support the proper weapon names Updated character info system to support alot of added items
33 lines
1.1 KiB
Ucode
33 lines
1.1 KiB
Ucode
Class Ext_TraitMedDamBoost extends Ext_TraitBase;
|
|
|
|
static function ApplyEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
Ext_PerkFieldMedic(Perk).HealingDamageBoostPct = 5.0f + (5.f + ((float(Level) - 1.f) * 5.f));
|
|
}
|
|
|
|
static function CancelEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
Ext_PerkFieldMedic(Perk).HealingDamageBoostPct = 5.0f;
|
|
}
|
|
|
|
static function TraitActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
Ext_PerkFieldMedic(Perk).bHealingDamageBoost = true;
|
|
}
|
|
|
|
static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
|
{
|
|
Ext_PerkFieldMedic(Perk).bHealingDamageBoost = false;
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
SupportedPerk=class'Ext_PerkFieldMedic'
|
|
TraitName="Focus Injection"
|
|
NumLevels=3
|
|
DefLevelCosts(0)=40
|
|
DefLevelCosts(1)=50
|
|
DefLevelCosts(2)=60
|
|
DefMinLevel=85
|
|
Description="Healing players will increase there damage up to 15%. The percent is increased by every level in:|Lv1-3: 5%, 10%, 15%"
|
|
} |