Xeno defensive grab#12542
Open
Drulikar wants to merge 3 commits into
Open
Conversation
Contributor
|
just a fyi sometimes you double grab people as warrior on lunges, not exactly sure how it happens but might be good looking into |
Contributor
Author
As far as I can tell this is just because the behavior when pulling something and you click what you've pulled on (regardless of intent) upgrades the intent (prior to this pr it'd try to restrain them). Does this for both humans and xenos. BUT there is some jank for warrior and pulling here: living_mob is the wrong var to check to prevent breaking your own grip. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About the pull request
This PR gives an upgrade stage to xeno grab which is required before restraining (think of it like human chokehold state is now the restrain stage). Just like a normal aggressive grab, this will slow the puller down, but bullets intended for the grabbed target are redirected to the xeno as a defensive grab (there is no forced tackling like human aggressive grab tho). Bullets stop redirecting after the xeno is at 25% health or less but the grab remains in the upgraded state (I could drop/downgrade the grab but I figure it could just make capturing weirdly easy to interrupt just because you're low health). See first video.
In addition to above:
isxenocalls in/obj/projectile/proc/handle_mob().Explain why it's good for the game
Right now the meta is to kill marines who are being captured via friendly fire, but now xenos can optionally upgrade the grab to defend their target at the cost of pulling slower and obviously taking the damage instead. Acid will still splatter on their pulled target. It should just generally give more options for xenos and make it harder for marines to cheese.
Testing Photographs and Procedure
Screenshots & Videos
https://youtu.be/kGNXgyJ5RD0
https://youtu.be/J1G4Q-OX_-Q
Changelog
🆑 Drathek
balance: Xenos now can upgrade their grabs to a defensive grab which slows their speed but protects the target so long as the xeno has atleast 25% health. The upgraded grab is needed to restrain.
fix: Grab upgrade icons now actually update
fix: Warriors now stop fighting themselves to be the puller of a mob
/:cl: