From 05c473b07289363131b914a37ac27075640cd6f5 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Tue, 21 Apr 2020 13:57:32 +0700 Subject: [PATCH] Nerf shiver's health and teleportation - Shiver's base health decreased from 350 to 250; - Shiver can't teleport while headless. --- sources/Zeds/Nice/NiceZombieShiver.uc | 1 + sources/Zeds/Nice/NiceZombieShiverBase.uc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sources/Zeds/Nice/NiceZombieShiver.uc b/sources/Zeds/Nice/NiceZombieShiver.uc index 2a879b5..9492af5 100644 --- a/sources/Zeds/Nice/NiceZombieShiver.uc +++ b/sources/Zeds/Nice/NiceZombieShiver.uc @@ -313,6 +313,7 @@ simulated function Tick(float Delta) //can't teleport if set on fire function bool CanTeleport() { + if (HeadHealth <= 0) return false; return !bFlashTeleporting && !bOnFire && Physics == PHYS_Walking && Level.TimeSeconds > TeleportBlockTime && LastFlashTime + 7.5 < Level.TimeSeconds && !bIsStunned; } diff --git a/sources/Zeds/Nice/NiceZombieShiverBase.uc b/sources/Zeds/Nice/NiceZombieShiverBase.uc index 812047e..5e4c365 100644 --- a/sources/Zeds/Nice/NiceZombieShiverBase.uc +++ b/sources/Zeds/Nice/NiceZombieShiverBase.uc @@ -91,8 +91,8 @@ defaultproperties WaterSpeed=100.000000 AccelRate=1024.000000 JumpZ=340.000000 - HealthMax=650.000000 - Health=350 + HealthMax=250.000000 + Health=250 MenuName="Shiver" MovementAnims(0)="ClotWalk" AmbientSound=SoundGroup'ScrnZedPack_S.Shiver.ShiverIdleGroup'