update16 #35

Merged
NikC- merged 11 commits from update16 into master 2024-11-27 20:00:56 +03:00
Showing only changes of commit 430debb99e - Show all commits

View File

@ -827,6 +827,9 @@ function int ModBodyDamage( out int damage,
bIsHeadShot = (headshotLevel > 0.0); bIsHeadShot = (headshotLevel > 0.0);
if (instigatedBy != none) if (instigatedBy != none)
nicePlayer = NicePlayerController(instigatedBy.Controller); nicePlayer = NicePlayerController(instigatedBy.Controller);
if (bFrozenZed && damageType != none && damageType.default.bIsExplosive) {
damage *= 1.5;
}
// On damaging critical spot (so far only head) - do body destruction // On damaging critical spot (so far only head) - do body destruction
if (bIsHeadShot && damageType != none) if (bIsHeadShot && damageType != none)
damage *= damageType.default.bodyDestructionMult; damage *= damageType.default.bodyDestructionMult;