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

Fixes Defenders staying Fortified while being in critical state #5641

Merged
merged 4 commits into from
Feb 5, 2024

Conversation

Vicacrov
Copy link
Contributor

@Vicacrov Vicacrov commented Feb 2, 2024

About the pull request

Defenders who use Fortify and then get into critical are not pullable, because Fortify is still technically active on them. Fortify only automatically toggles itself off upon death. This PR changes it so the Fortify ability gets turned off upon entering critical state, making other xenos/yautja/synths able to pull them while they are downed.

Fixes #5616

It also adds xeno crit comsig for other possible uses. I think my signal is only called once, when the xeno enters critical, but I may have misread the code.

Explain why it's good for the game

Fortified defenders are anchored until they are healed (and then they manually turn it off) or until they die. This is probably unintended behaviour, they are not conscious anymore to be fortified.

Testing Photographs and Procedure

Spawned a defender, fortified, dealt it 500+ damage, then tried to drag it. Video:

Screenshots & Videos
jgW4AQ1IHH.mp4

Changelog

🆑
fix: Fixes Defenders staying Fortified in critical state - Fortify now automatically toggles itself off upon the Defender getting critted.
/:cl:

@github-actions github-actions bot added the Fix Fix one bug, make ten more label Feb 2, 2024
Copy link
Contributor

@Birdtalon Birdtalon left a comment

Choose a reason for hiding this comment

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

LGTM

@Birdtalon Birdtalon added this pull request to the merge queue Feb 5, 2024
Merged via the queue into cmss13-devs:master with commit d5dd598 Feb 5, 2024
26 checks passed
cm13-github added a commit that referenced this pull request Feb 5, 2024
@Vicacrov Vicacrov deleted the xeno_crit_signal branch March 6, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fortified defender stays fortified even when crit
3 participants