ports Legion mob nerfs#908
Merged
MrMelbert merged 1 commit intoMrMelbert:masterfrom Apr 5, 2026
Merged
Conversation
## About The Pull Request This PR does a handful of things to make the hostile "Legion" mob less dangerous. Firstly: They will spawn extra mobs half as often. Secondly: Those mobs have the "attack forecast" component also used by Goliaths and some other mining mobs. Also now Legions can't spawn skulls while they're inside pipes or bags, because that doesn't make any sense. ## Why It's Good For The Game When converted to basic mobs these guys became _far_ more deadly than they were supposed to be, to the point where even approaching a Legion tendril was basically suicide. This was compounded by an issue which would sometimes cause 33% more Legions to be present at the tendril than were supposed to spawn there, but they'd still be fairly scary with just 3 of them. There were a couple of causes of this which this PR does something to address: - Simple mob AI was simply a lot more sluggish than Basic Mobs. Legions now react faster and more reliably _actually_ spawn skulls at every available opportunity whereas previously despite having the same cooldown they wouldn't always bother. - Similarly, the skulls themselves were slower to pick a target and slower to attack, whereas Basic Mob skulls will melee you the instant they detect that you are in range. - This also means three (or four with the spawner bug) Legions dropping adds on you the second they see _you_, with no guarantee that you have yet seen them. The damage starts to become quite hard to avoid, and 4x Legion skulls (with another four spawning in two seconds) dealing 12 damage each would crit you very quickly. - Our click CD means it's not even possible to punch four skulls in two seconds even if you managed to time it perfectly. So to solve this: Spawn fewer of them, they do less damage, and you can step away from their attacks (this gets pretty hard when you're surrounded, but that is by design). Eventually I am probably going to play like 20 rounds of miner, look at all of the mining mobs we have on each map, and then completely redraw what their roles are in a way that probably changes what this mob does quite significantly... but I'm not going to do it yet. This should do for now. ## Changelog :cl: balance: The melee attacks from small mobs spawned by Legions can now be dodged. balance: Legions spawn their mobs less often. fix: Legions cannot spawn mobs while inside pipes or closets. /:cl:
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.
If I'm going to be playing shaft miner I'm going to have to port this, if you walk into the vague proximity of a Legion tendril you get swarmed by like 20 skull and it's making me go insane, you literally can't click fast enough to deal with them all.
I'd like to port broader changes/updates to basic mobs at some point but that's a significantly more complex project and I'd still like to wait til simple animals are gone, or at least until the list is down to only megafauna.