Nerf shiver's health and teleportation

- Shiver's base health decreased from 350 to 250;
- Shiver can't teleport while headless.
This commit is contained in:
Anton Tarasenko 2020-04-21 13:57:32 +07:00
parent 5d14d7a5fe
commit 05c473b072
2 changed files with 3 additions and 2 deletions

View File

@ -313,6 +313,7 @@ simulated function Tick(float Delta)
//can't teleport if set on fire //can't teleport if set on fire
function bool CanTeleport() function bool CanTeleport()
{ {
if (HeadHealth <= 0) return false;
return !bFlashTeleporting && !bOnFire && Physics == PHYS_Walking && Level.TimeSeconds > TeleportBlockTime return !bFlashTeleporting && !bOnFire && Physics == PHYS_Walking && Level.TimeSeconds > TeleportBlockTime
&& LastFlashTime + 7.5 < Level.TimeSeconds && !bIsStunned; && LastFlashTime + 7.5 < Level.TimeSeconds && !bIsStunned;
} }

View File

@ -91,8 +91,8 @@ defaultproperties
WaterSpeed=100.000000 WaterSpeed=100.000000
AccelRate=1024.000000 AccelRate=1024.000000
JumpZ=340.000000 JumpZ=340.000000
HealthMax=650.000000 HealthMax=250.000000
Health=350 Health=250
MenuName="Shiver" MenuName="Shiver"
MovementAnims(0)="ClotWalk" MovementAnims(0)="ClotWalk"
AmbientSound=SoundGroup'ScrnZedPack_S.Shiver.ShiverIdleGroup' AmbientSound=SoundGroup'ScrnZedPack_S.Shiver.ShiverIdleGroup'