Skip to content

Fix zombie torsos not being insta-killed by Clone Cop's kick - #370

Merged
1upD merged 1 commit into
entropy-zero:ez2/mapbasefrom
Blixibon:ez2/feature/zombie-torso-cc-kick-fix
Nov 9, 2026
Merged

1upD merged 1 commit into
entropy-zero:ez2/mapbasefrom
Blixibon:ez2/feature/zombie-torso-cc-kick-fix

Conversation

@Blixibon

@Blixibon Blixibon commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes zombie torsos not being insta-killed by Clone Cop's kick in the same way they are by Bad Cop's.

This admittedly doesn't address the root of the issue, as the problem appeared to be that setting the zombie torso's health to the damage didn't always kill it when being kicked by Clone Cop, despite always killing it when kicked by the player. This PR gets around that by just setting the zombie's health to 1 so that any damage value will always kill it.

@1upD 1upD left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we shouldn't simplify this by applying the "Set target health to 1" case universally to kick victims. But I don't see any major issues with doing it this way either, so I will approve.

@1upD
1upD merged commit 79111d8 into entropy-zero:ez2/mapbase Nov 9, 2026
5 checks passed
@Blixibon
Blixibon deleted the ez2/feature/zombie-torso-cc-kick-fix branch November 9, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants