Buff explosive damage by 50% against frozen targets
This commit is contained in:
parent
f54f0d40db
commit
430debb99e
1 changed files with 6 additions and 3 deletions
|
|
@ -827,6 +827,9 @@ function int ModBodyDamage( out int damage,
|
|||
bIsHeadShot = (headshotLevel > 0.0);
|
||||
if (instigatedBy != none)
|
||||
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
|
||||
if (bIsHeadShot && damageType != none)
|
||||
damage *= damageType.default.bodyDestructionMult;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue