forked from ForrestMarkX/KF2-Server-Extension
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from secretagentjr/master
Update Recoil / Spread to be flat reduction, capping out at 100%, allow knockback to go above 100%
- Loading branch information
Showing
7 changed files
with
147 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Class Ext_TraitGroundFire extends Ext_TraitBase; | ||
|
||
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data) | ||
{ | ||
Ext_PerkFirebug(Perk).bUseGroundFire = true; | ||
} | ||
|
||
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data) | ||
{ | ||
Ext_PerkFirebug(Perk).bUseGroundFire = false; | ||
} | ||
|
||
defaultproperties | ||
{ | ||
DefLevelCosts(0)=50 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Class Ext_TraitHeatWave extends Ext_TraitBase; | ||
|
||
static function TraitActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data) | ||
{ | ||
Ext_PerkFirebug(Perk).bUseHeatWave = true; | ||
} | ||
|
||
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data) | ||
{ | ||
Ext_PerkFirebug(Perk).bUseHeatWave = false; | ||
} | ||
|
||
defaultproperties | ||
{ | ||
DefLevelCosts(0)=50 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Class Ext_TraitPyromaniac 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).bUsePyromaniac = true; | ||
} | ||
|
||
static function TraitDeActivate(Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data) | ||
{ | ||
Ext_PerkFirebug(Perk).bUsePyromaniac = false; | ||
} | ||
|
||
defaultproperties | ||
{ | ||
SupportedPerk=class'Ext_PerkFirebug' | ||
TraitGroup=class'Ext_TGroupZEDTime' | ||
NumLevels=1 | ||
DefLevelCosts(0)=50 | ||
//DefMinLevel=65 | ||
} |