Apply dirty patch (messed up line endings)

This commit is contained in:
Anton Tarasenko 2020-04-18 18:22:54 +07:00
commit 51bb9add5b
30 changed files with 1354 additions and 714 deletions

View file

@ -1,28 +1,36 @@
class NiceSkillCommandoCriticalFocus extends NiceSkill
abstract;
var float cooldown;
var float healthBoundary;
function static SkillSelected(NicePlayerController nicePlayer){
local NicePack niceMutator;
super.SkillSelected(nicePlayer);
niceMutator = class'NicePack'.static.Myself(nicePlayer.Level);
if(niceMutator == none || niceMutator.Role == Role_AUTHORITY) return;
niceMutator.AddCounter("npCommandoCriticalFocus", Texture'NicePackT.HudCounter.commandoCounter', false, default.class);
}
function static SkillDeSelected(NicePlayerController nicePlayer){
local NicePack niceMutator;
super.SkillDeSelected(nicePlayer);
niceMutator = class'NicePack'.static.Myself(nicePlayer.Level);
if(niceMutator == none || niceMutator.Role == Role_AUTHORITY) return;
niceMutator.RemoveCounter("npCommandoCriticalFocus");
}
function static int UpdateCounterValue(string counterName, NicePlayerController nicePlayer){
local NiceHumanPawn nicePawn;
if(nicePlayer == none || counterName != "npCommandoCriticalFocus") return 0;
nicePawn = NiceHumanPawn(nicePlayer.pawn);
if(nicePawn == none) return 0;
return Ceil(nicePawn.forcedZedTimeCountDown);
}
defaultproperties
{ cooldown=30.000000 healthBoundary=50.000000 SkillName="Critical focus"
}
class NiceSkillCommandoCriticalFocus extends NiceSkill
abstract;
var float cooldown;
var float healthBoundary;
function static SkillSelected(NicePlayerController nicePlayer){
local NicePack niceMutator;
super.SkillSelected(nicePlayer);
niceMutator = class'NicePack'.static.Myself(nicePlayer.Level);
if(niceMutator == none || niceMutator.Role == Role_AUTHORITY)
return;
niceMutator.AddCounter("npCommandoCriticalFocus", Texture'NicePackT.HudCounter.commandoCounter', false, default.class);
}
function static SkillDeSelected(NicePlayerController nicePlayer){
local NicePack niceMutator;
super.SkillDeSelected(nicePlayer);
niceMutator = class'NicePack'.static.Myself(nicePlayer.Level);
if(niceMutator == none || niceMutator.Role == Role_AUTHORITY)
return;
niceMutator.RemoveCounter("npCommandoCriticalFocus");
}
function static int UpdateCounterValue(string counterName, NicePlayerController nicePlayer){
local NiceHumanPawn nicePawn;
if(nicePlayer == none || counterName != "npCommandoCriticalFocus")
return 0;
nicePawn = NiceHumanPawn(nicePlayer.pawn);
if(nicePawn == none)
return 0;
return Ceil(nicePawn.forcedZedTimeCountDown);
}
defaultproperties
{
cooldown=30.000000
healthBoundary=50.000000
SkillName="Critical focus"
SkillEffects="Activates zed time once you fall below 50% health. Has a cooldown of 30 seconds."
}

View file

@ -0,0 +1,11 @@
class NiceSkillCommandoGiantSlayer extends NiceSkill
abstract;
var float bonusDamageMult;
var float healthStep;
defaultproperties
{
healthStep=1000.000000
bonusDamageMult=0.05000
SkillName="Giant slayer"
SkillEffects="For every 1000 of health zed currently has, you deal additional 5% damage."
}

View file

@ -1,7 +0,0 @@
class NiceSkillCommandoThinOut extends NiceSkill
abstract;
var float damageMult;
var float maxDistance;
defaultproperties
{ damageMult=2.000000 MaxDistance=800.000000 SkillName="Thin out" SkillEffects="Deal double damage against non-trash zeds, when there's either a huge zed or another zed of the same type within 16 meters of you."
}

View file

@ -1,6 +1,9 @@
class NiceSkillCommandoTrashCleaner extends NiceSkill
abstract;
var float decapitationMultiLimit;
defaultproperties
{ decapitationMultiLimit=0.600000 SkillName="Trash cleaner" SkillEffects="Get finisher property on your shots against low-health zeds, but your weapons leave more decapitated zeds behind."
}
class NiceSkillCommandoTrashCleaner extends NiceSkill
abstract;
var float decapitationMultiLimit;
defaultproperties
{
decapitationMultiLimit=0.45
SkillName="Trash cleaner"
SkillEffects="Get finisher property on your shots against low-health zeds, but your weapons leave more decapitated zeds behind."
}

View file

@ -1,5 +1,7 @@
class NiceSkillCommandoZEDEvisceration extends NiceSkill
abstract;
defaultproperties
{ SkillName="Evisceration" SkillEffects="During zed-time both 'Trash cleaner' and 'Thin out' skills are active."
}
class NiceSkillCommandoZEDEvisceration extends NiceSkill
abstract;
defaultproperties
{
SkillName="Evisceration"
SkillEffects="Does nothing."
}