Buff enforcer
This commit is contained in:
parent
4f4455f9b1
commit
2135c0b46b
20 changed files with 288 additions and 156 deletions
38
sources/Perks/Enforcer/Skills/NiceSkillEnforcerBruteA.uc
Normal file
38
sources/Perks/Enforcer/Skills/NiceSkillEnforcerBruteA.uc
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
class NiceSkillEnforcerBruteA extends NiceSkill
|
||||
abstract;
|
||||
|
||||
var string abilityID;
|
||||
var float coolDown;
|
||||
var float abilityDuration;
|
||||
var float damageMult;
|
||||
|
||||
function static SkillSelected(NicePlayerController nicePlayer)
|
||||
{
|
||||
local NiceAbilityManager.NiceAbilityDescription carnage;
|
||||
|
||||
if(nicePlayer == none) return;
|
||||
if(nicePlayer.abilityManager == none) return;
|
||||
|
||||
carnage.ID = default.abilityID;
|
||||
carnage.icon = Texture'NicePackT.HudCounter.demo';
|
||||
carnage.cooldownLength = default.cooldown;
|
||||
carnage.canBeCancelled = false;
|
||||
nicePlayer.abilityManager.AddAbility(carnage);
|
||||
}
|
||||
function static SkillDeSelected(NicePlayerController nicePlayer)
|
||||
{
|
||||
if(nicePlayer == none) return;
|
||||
if(nicePlayer.abilityManager == none) return;
|
||||
|
||||
nicePlayer.abilityManager.RemoveAbility(default.abilityID);
|
||||
}
|
||||
|
||||
defaultproperties
|
||||
{
|
||||
abilityID="brute"
|
||||
cooldown=60.000000
|
||||
abilityDuration=5.0
|
||||
damageMult=4.0
|
||||
SkillName="Brute"
|
||||
SkillEffects="Temporarily lose ability to do headshots in exchange for quad damage."
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
class NiceSkillEnforcerFinisherRounds extends NiceSkill
|
||||
abstract;
|
||||
|
||||
var float damageBonus;
|
||||
defaultproperties
|
||||
{
|
||||
damageBonus=0.500000
|
||||
SkillName="Finisher rounds"
|
||||
SkillEffects="Deal 50% more damage to frozen targets."
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
class NiceSkillEnforcerJuggernautA extends NiceSkill
|
||||
abstract;
|
||||
|
||||
var string abilityID;
|
||||
var float distance;
|
||||
var float cooldown;
|
||||
var float duration;
|
||||
|
||||
function static SkillSelected(NicePlayerController nicePlayer)
|
||||
{
|
||||
local NiceAbilityManager.NiceAbilityDescription stupor;
|
||||
|
||||
if(nicePlayer == none) return;
|
||||
if(nicePlayer.abilityManager == none) return;
|
||||
|
||||
stupor.ID = default.abilityID;
|
||||
stupor.icon = Texture'NicePackT.HudCounter.demo';
|
||||
stupor.cooldownLength = default.cooldown;
|
||||
stupor.canBeCancelled = false;
|
||||
nicePlayer.abilityManager.AddAbility(stupor);
|
||||
}
|
||||
|
||||
function static SkillDeSelected(NicePlayerController nicePlayer)
|
||||
{
|
||||
if(nicePlayer == none) return;
|
||||
if(nicePlayer.abilityManager == none) return;
|
||||
|
||||
nicePlayer.abilityManager.RemoveAbility(default.abilityID);
|
||||
}
|
||||
|
||||
defaultproperties
|
||||
{
|
||||
abilityID="juggernaut"
|
||||
Distance=800.000000
|
||||
cooldown=30
|
||||
SkillName="Juggernaut"
|
||||
SkillEffects="Startle zeds around you for three seconds."
|
||||
}
|
||||
|
|
@ -1,11 +1,12 @@
|
|||
class NiceSkillEnforcerDetermination extends NiceSkill
|
||||
class NiceSkillEnforcerUnkillable extends NiceSkill
|
||||
abstract;
|
||||
|
||||
var int healthBound;
|
||||
var float addedResist;
|
||||
defaultproperties
|
||||
{
|
||||
healthBound=50
|
||||
addedResist=0.500000
|
||||
SkillName="Determination"
|
||||
SkillName="Unkillable"
|
||||
SkillEffects="Receive 50% less damage when your health falls below 50 mark."
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@ class NiceSkillEnforcerUnstoppable extends NiceSkill
|
|||
var float speedMult;
|
||||
defaultproperties
|
||||
{
|
||||
speedMult=0.750000
|
||||
speedMult=1.000000
|
||||
SkillName="Unstoppable"
|
||||
SkillEffects="Your speed doesn't decrease from additional weight, low health, poison or siren's pull, but you also receive -25% speed penalty."
|
||||
SkillEffects="Your speed doesn't decrease from additional weight, low health, poison or siren's pull and your screen doesn't shake or blur."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ class NiceSkillEnforcerZEDBarrage extends NiceSkill
|
|||
defaultproperties
|
||||
{
|
||||
SkillName="Barrage"
|
||||
SkillEffects="Shoot without any recoil during zed-time."
|
||||
SkillEffects="Shoot without any recoil during zed-time at twice the speed."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
class NiceSkillEnforcerZEDIceGiant extends NiceSkill
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
|
||||
SkillName="Ice giant"
|
||||
SkillEffects="Freeze zeds around you during zed time."
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
class NiceSkillEnforcerZEDJuggernaut extends NiceSkill
|
||||
abstract;
|
||||
var float distance;
|
||||
defaultproperties
|
||||
{
|
||||
Distance=800.000000
|
||||
SkillName="Juggernaut"
|
||||
SkillEffects="You startle zeds around you upon entering zed-time."
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue