1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFExplosionActorC4.uc

23 lines
794 B
Ucode
Raw Permalink Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFExplosionActorC4
//=============================================================================
// Explosion actor class that potentially does less damage each subsequent hit
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// Jeff Robinson
//=============================================================================
class KFExplosionActorC4 extends KFExplosionActor;
simulated function float GetDamageFor( Actor Victim )
{
return ExplosionTemplate.Damage * CalcStackingDamageScale(KFPawn(Victim), default.LifeSpan);
}
defaultproperties
{
LifeSpan=3.f
DamageScalePerStack=0.75
}