Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X2Effect_Regeneration does not check if the unit is dead before healing them #1456

Open
Mitzruti opened this issue Feb 2, 2025 · 0 comments

Comments

@Mitzruti
Copy link
Contributor

Mitzruti commented Feb 2, 2025

Which can result in "zombie" units that keep coming back to life until the regen expires.

While setting the effect to expire when the unit dies helps with this, it can also lead to passive abilities being lost on bleedout (only mostly dead, as opposed to all dead). ...and several modded abilities forget to do so, resulting in the original problem.

Suggested fix: add a check in the effect immediately after getting the unit state to ensure it can be healed.
possibly adjust stasis vest so it is no longer removed on "death".

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

No branches or pull requests

1 participant