Last patch

Commits like that are lazy and shitty, but fuck it, it's the last patch.
This commit is contained in:
Anton Tarasenko 2020-07-03 18:03:21 +07:00
commit bd54850e38
35 changed files with 81 additions and 49 deletions

View file

@ -2,5 +2,5 @@ class NiceDamTypeCryoNade extends NiceWeaponDamageType
abstract;
defaultproperties
{
freezePower=200.000000
freezePower=160.000000
}

View file

@ -113,12 +113,6 @@ simulated function HurtRadius( float DamageAmount, float DamageRadius, class<Dam
if ( damageScale <= 0)
continue;
// Scrake Nader ach
if ( Role == ROLE_Authority && KFMonsterVictim != none && ZombieScrake(KFMonsterVictim) != none ) {
// need to check Scrake's stun before dealing damage, because he can unstun by himself from damage received
ScrakeNader(damageScale * DamageAmount, ZombieScrake(KFMonsterVictim), Stats);
}
}
if(NiceMonster(Victims) != none)
Victims.TakeDamage(damageScale * DamageAmount,Instigator,Victims.Location - 0.5 * (Victims.CollisionHeight + Victims.CollisionRadius) * dir