TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ EditSpawnPool()

virtual void Terraria.ModLoader.GlobalNPC.EditSpawnPool ( IDictionary< int, float > pool,
NPCSpawnInfo spawnInfo )
inlinevirtualinherited

Allows you to control which NPCs can spawn and how likely each one is to spawn. The pool parameter maps NPC types to their spawning weights (likelihood to spawn compared to other NPCs). A type of 0 in the pool represents the default vanilla NPC spawning.

Parameters
pool
spawnInfo

Definition at line 582 of file GlobalNPC.cs.

583 {
584 }