Eggsac Carrier Exploit fix - #12720
Open
JackieEstegado wants to merge 1 commit into
Open
Conversation
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
Fixes #8938
Previously the hugger coming out of the egg removed it from the max sustained fragile eggs count.
Fixed it by making eggs keep being counted against the limit as long as they dont get destroyed. Plus added a shortened expiration timer onto the the fragile egg that the hugger came out of, so it wont stick around and count after the hugger is long gone.
Explain why it's good for the game
Bug bad
Testing Photographs and Procedure
Be eggsac carrier.
Plant 4 eggs on normal weeds in rapid succession.
Take the hugger out of Number 1 and throw it away.
Take the hugger out of Number 2 and drop it back on the egg's tile.
Take the hugger out of Number 3 and place it back into it.
Dont do anything with Number 4.
N1's hugger dies and shortly after N1 too.
N2's hugger crawls back in.
Minutes later N2, N3, N4 burst in rapid succession.
Changelog
🆑
fix: Fixed a bug where an eggsac carrier could sustain infinite fragile eggs.
add: Fragile eggs are now counted against the sustain limit until they are destroyed.
add: Fragile eggs that no longer have a hugger will quickly die.
/:cl: