From 701659f62a01650bc049a25b71a080a8eaa0946f Mon Sep 17 00:00:00 2001 From: ricky Date: Fri, 17 Jun 2011 18:53:04 +1000 Subject: [PATCH] Increased the area used for random spawn points. (mob spawn area now 100 tiles right/left and 50 tiles up/down of player) --- TShockAPI/TSPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index 53634442..e78c402e 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -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++) {