Buff boomstick
This commit is contained in:
parent
a3f4baabc6
commit
b3b107c8ec
@ -75,6 +75,7 @@ State MatchInProgress{
|
||||
function ScoreKill(Controller Killer, Controller Other)
|
||||
{
|
||||
local NicePlayerController niceKiller;
|
||||
local NiceHumanPawn niceKillerPawn;
|
||||
local PlayerReplicationInfo OtherPRI;
|
||||
local float KillScore;
|
||||
local Controller C;
|
||||
@ -201,8 +202,13 @@ function ScoreKill(Controller Killer, Controller Other)
|
||||
/* End Marco's Kill Messages */
|
||||
niceKiller = NicePlayerController(killer);
|
||||
if (niceKiller != none && niceKiller.abilityManager != none) {
|
||||
niceKillerPawn = NiceHumanPawn(niceKiller.pawn);
|
||||
niceKiller.abilityManager.AddToAllCooldowns(-1);
|
||||
}
|
||||
if ( niceKillerPawn != none && NiceBoomStick(niceKillerPawn.weapon) != none
|
||||
&& other != none && other.pawn != none && other.pawn.default.health >= 1000) {
|
||||
niceKillerPawn.invincibilityTimer += 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
function DramaticEvent(float BaseZedTimePossibility, optional float DesiredZedTimeDuration){
|
||||
|
@ -1,13 +1,13 @@
|
||||
class NiceBoomStickAltFire extends NiceBoomStickFire;
|
||||
// Overload to force last shot to have a different animation with reload
|
||||
// NICETODO: uncomment this
|
||||
function name GetCorrectAnim(bool bLoop, bool bAimed){
|
||||
function name GetCorrectAnim(bool bLoop, bool bAimed) {
|
||||
if(currentContext.sourceWeapon != none && currentContext.sourceWeapon.MagAmmoRemainingClient > 0)
|
||||
return super.GetCorrectAnim(bLoop, bAimed);
|
||||
return super.GetCorrectAnim(bLoop, bAimed);
|
||||
if(bAimed)
|
||||
return 'Fire_Last_Iron';
|
||||
return 'Fire_Last_Iron';
|
||||
else
|
||||
return 'Fire_Last';
|
||||
return 'Fire_Last';
|
||||
return FireAnim;
|
||||
}
|
||||
defaultproperties
|
||||
|
@ -58,6 +58,6 @@ defaultproperties
|
||||
ShakeOffsetTime=3.500000
|
||||
BotRefireRate=2.500000
|
||||
aimerror=2.000000
|
||||
Spread=3000.000000
|
||||
Spread=2000.000000
|
||||
FireAnimRate=1.25
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user