Another attempt to fix Demo AOE
This commit is contained in:
parent
23e8721408
commit
d4403a970b
@ -3,9 +3,8 @@ class ExtProj_DynamiteGrenade extends KFProj_DynamiteGrenade;
|
||||
simulated protected function PrepareExplosionTemplate()
|
||||
{
|
||||
local ExtPlayerReplicationInfo MyPRI;
|
||||
local Ext_PerkDemolition DemoPerk;
|
||||
|
||||
Super(KFProjectile).PrepareExplosionTemplate();
|
||||
Super.PrepareExplosionTemplate();
|
||||
|
||||
if(Instigator == None)
|
||||
return;
|
||||
@ -25,12 +24,6 @@ simulated protected function PrepareExplosionTemplate()
|
||||
ExplosionTemplate.ExplosionEffects = AltExploEffects;
|
||||
ExplosionTemplate.ExplosionSound = class'KFPerk_Demolitionist'.static.GetConcussiveExplosionSound();
|
||||
}
|
||||
|
||||
DemoPerk = Ext_PerkDemolition(MyPRI.FCurrentPerk);
|
||||
if( DemoPerk == none )
|
||||
return;
|
||||
|
||||
ExplosionTemplate.DamageRadius *= DemoPerk.GetAoERadiusModifier();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,9 +3,8 @@ class ExtProj_HighExplosive_M16M203 extends KFProj_HighExplosive_M16M203;
|
||||
simulated protected function PrepareExplosionTemplate()
|
||||
{
|
||||
local ExtPlayerReplicationInfo MyPRI;
|
||||
local Ext_PerkDemolition DemoPerk;
|
||||
|
||||
Super(KFProjectile).PrepareExplosionTemplate();
|
||||
Super.PrepareExplosionTemplate();
|
||||
|
||||
if(Instigator == None)
|
||||
return;
|
||||
@ -25,12 +24,6 @@ simulated protected function PrepareExplosionTemplate()
|
||||
ExplosionTemplate.ExplosionEffects = AltExploEffects;
|
||||
ExplosionTemplate.ExplosionSound = class'KFPerk_Demolitionist'.static.GetConcussiveExplosionSound();
|
||||
}
|
||||
|
||||
DemoPerk = Ext_PerkDemolition(MyPRI.FCurrentPerk);
|
||||
if( DemoPerk == none )
|
||||
return;
|
||||
|
||||
ExplosionTemplate.DamageRadius *= DemoPerk.GetAoERadiusModifier();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,9 +3,8 @@ class ExtProj_HighExplosive_M79 extends KFProj_HighExplosive_M79;
|
||||
simulated protected function PrepareExplosionTemplate()
|
||||
{
|
||||
local ExtPlayerReplicationInfo MyPRI;
|
||||
local Ext_PerkDemolition DemoPerk;
|
||||
|
||||
Super(KFProjectile).PrepareExplosionTemplate();
|
||||
Super.PrepareExplosionTemplate();
|
||||
|
||||
if(Instigator == None)
|
||||
return;
|
||||
@ -25,12 +24,6 @@ simulated protected function PrepareExplosionTemplate()
|
||||
ExplosionTemplate.ExplosionEffects = AltExploEffects;
|
||||
ExplosionTemplate.ExplosionSound = class'KFPerk_Demolitionist'.static.GetConcussiveExplosionSound();
|
||||
}
|
||||
|
||||
DemoPerk = Ext_PerkDemolition(MyPRI.FCurrentPerk);
|
||||
if( DemoPerk == none )
|
||||
return;
|
||||
|
||||
ExplosionTemplate.DamageRadius *= DemoPerk.GetAoERadiusModifier();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,9 +3,8 @@ class ExtProj_Rocket_RPG7 extends KFProj_Rocket_RPG7;
|
||||
simulated protected function PrepareExplosionTemplate()
|
||||
{
|
||||
local ExtPlayerReplicationInfo MyPRI;
|
||||
local Ext_PerkDemolition DemoPerk;
|
||||
|
||||
Super(KFProjectile).PrepareExplosionTemplate();
|
||||
Super.PrepareExplosionTemplate();
|
||||
|
||||
if(Instigator == None)
|
||||
return;
|
||||
@ -25,12 +24,6 @@ simulated protected function PrepareExplosionTemplate()
|
||||
ExplosionTemplate.ExplosionEffects = AltExploEffects;
|
||||
ExplosionTemplate.ExplosionSound = class'KFPerk_Demolitionist'.static.GetConcussiveExplosionSound();
|
||||
}
|
||||
|
||||
DemoPerk = Ext_PerkDemolition(MyPRI.FCurrentPerk);
|
||||
if( DemoPerk == none )
|
||||
return;
|
||||
|
||||
ExplosionTemplate.DamageRadius *= DemoPerk.GetAoERadiusModifier();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,9 +3,8 @@ class ExtProj_Rocket_Seeker6 extends KFProj_Rocket_Seeker6;
|
||||
simulated protected function PrepareExplosionTemplate()
|
||||
{
|
||||
local ExtPlayerReplicationInfo MyPRI;
|
||||
local Ext_PerkDemolition DemoPerk;
|
||||
|
||||
Super(KFProjectile).PrepareExplosionTemplate();
|
||||
Super.PrepareExplosionTemplate();
|
||||
|
||||
if(Instigator == None)
|
||||
return;
|
||||
@ -25,12 +24,6 @@ simulated protected function PrepareExplosionTemplate()
|
||||
ExplosionTemplate.ExplosionEffects = AltExploEffects;
|
||||
ExplosionTemplate.ExplosionSound = class'KFPerk_Demolitionist'.static.GetConcussiveExplosionSound();
|
||||
}
|
||||
|
||||
DemoPerk = Ext_PerkDemolition(MyPRI.FCurrentPerk);
|
||||
if( DemoPerk == none )
|
||||
return;
|
||||
|
||||
ExplosionTemplate.DamageRadius *= DemoPerk.GetAoERadiusModifier();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,9 +3,8 @@ class ExtProj_Thrown_C4 extends KFProj_Thrown_C4;
|
||||
simulated protected function PrepareExplosionTemplate()
|
||||
{
|
||||
local ExtPlayerReplicationInfo MyPRI;
|
||||
local Ext_PerkDemolition DemoPerk;
|
||||
|
||||
Super(KFProjectile).PrepareExplosionTemplate();
|
||||
Super.PrepareExplosionTemplate();
|
||||
|
||||
if(Instigator == None)
|
||||
return;
|
||||
@ -25,12 +24,6 @@ simulated protected function PrepareExplosionTemplate()
|
||||
ExplosionTemplate.ExplosionEffects = AltExploEffects;
|
||||
ExplosionTemplate.ExplosionSound = class'KFPerk_Demolitionist'.static.GetConcussiveExplosionSound();
|
||||
}
|
||||
|
||||
DemoPerk = Ext_PerkDemolition(MyPRI.FCurrentPerk);
|
||||
if( DemoPerk == none )
|
||||
return;
|
||||
|
||||
ExplosionTemplate.DamageRadius *= DemoPerk.GetAoERadiusModifier();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user