The spawn boost mod I used to use provided by jopo is outdated.
Is it possible somebody can fix this for the current version of TML? All I want is for the amount of max spawns to be doubled across all biomes.
Code:
using Terraria;
using Terraria.ModLoader;
namespace SpawnBoostMod
{
class SpawnBoostMod : Mod
{
public SpawnBoostMod()
{
Properties = new ModProperties()
{
Autoload = true,
};
}
}
class SpawnRateMultiplierGlobalNPC : GlobalNPC
{
float multiplier = 5f;
public override void EditSpawnRate(Player player, ref int spawnRate, ref int maxSpawns)
{
spawnRate = (int)(spawnRate / multiplier);
maxSpawns = (int)(maxSpawns * 2);
}
}
}
Is it possible somebody can fix this for the current version of TML? All I want is for the amount of max spawns to be doubled across all biomes.
Last edited: