Add lua support for creatures returning from abyss - #5185
Open
rainlizard wants to merge 7 commits into
Open
Conversation
rainlizard
marked this pull request as draft
September 1, 2026 05:13
rainlizard
marked this pull request as ready for review
September 1, 2026 18:39
rainlizard
marked this pull request as draft
September 2, 2026 12:57
rainlizard
marked this pull request as ready for review
September 3, 2026 14:15
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.
Some people liked my idea of creatures that fall into the abyss being relocated to your portal instead of dying, so here's some lua changes to support that.
CreatureFellIntoAbysslua event.Creature:remove_from_play(turns)for temporarily placing a creature in limbo. You can use this in any other context (not just for abyss) where you need to take a creature out of play for a while.In this example I also added 100 falling damage and the creature won't return if it died from the damage taken. But how you use this lua is up to you. Falling can be pretty overpowered:
2026-09-01.15-01-04.mp4