This question may or may not be answer by myself. I am curious about that but find it difficult to find the specific code that refers to this form of spawning.
"When attacking enemies for too long, there is a chance that more of the same enemy will spawn close by and join the fight (e.g. attacking 1 Umbrella Slime causes more to spawn and attack.)" - By Terraria Wiki [Expert mode]
Well, I don't know the official name of such spawning, so I just take it "swarm spawning". I don't even know whether it really exists...
For reference, as far as my interpretation for the code, the slime rain spawning is independent of normal spawning. It only have a max spawn limit of 15(of course for all active NPCs) and note that 15 is always applied whatever biome or other condition it is. And in one frame slime spawning and normal spawning can happen together.
I want to know the mechanics of "swarm spawning". Hope you guys can help me.
"When attacking enemies for too long, there is a chance that more of the same enemy will spawn close by and join the fight (e.g. attacking 1 Umbrella Slime causes more to spawn and attack.)" - By Terraria Wiki [Expert mode]
Well, I don't know the official name of such spawning, so I just take it "swarm spawning". I don't even know whether it really exists...
For reference, as far as my interpretation for the code, the slime rain spawning is independent of normal spawning. It only have a max spawn limit of 15(of course for all active NPCs) and note that 15 is always applied whatever biome or other condition it is. And in one frame slime spawning and normal spawning can happen together.
I want to know the mechanics of "swarm spawning". Hope you guys can help me.