Increased the area used for random spawn points. (mob spawn area now 100 tiles right/left and 50 tiles up/down of player)

This commit is contained in:
ricky 2011-06-17 18:53:04 +10:00
parent 99cafd359e
commit 701659f62a

View file

@ -224,7 +224,7 @@ namespace TShockAPI
NetMessage.syncPlayers();
}
public void SpawnNPC(int type, string name, int amount, int startTileX, int startTileY, int tileXRange = 50, int tileYRange = 20)
public void SpawnNPC(int type, string name, int amount, int startTileX, int startTileY, int tileXRange = 100, int tileYRange = 50)
{
for (int i = 0; i < amount; i++)
{