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:
parent
99cafd359e
commit
701659f62a
1 changed files with 1 additions and 1 deletions
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue