Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static bool SpawnNPC(int x, int y, int playerID) {
- if (!Main.player[playerID].zoneDungeon && !Main.player[playerID].zoneJungle && !Main.player[playerID].zoneMeteor && Main.player[playerID].position.Y < ((Main.worldSurface * 100.0)))
- {
- if (Main.player[playerID].position.Y > ((Main.worldSurface * 15.0)) && Main.rand.Next(2)==1) return true;
- return false;
- }
- return false;
- }
Add Comment
Please, Sign In to add comment