God capes, Ancient chamber teleport and axe array checks (#16)

* Revised shop re-stocking interval.

* Revised shop re-stocking interval.

* Updated character save directory.

* Renamed new player save directory from accounts to characters.

* Added inverse for random toggle, since it's the first thing I type every time.

* Added god capes.

* Re-implemented experiments.

* Yell now looks a little cleaner.

* Fixed outside of bounds exception on High scores, when player count doesn't meet threshold.

* Cleaned up Magic Teleports class and added level requirements.

* Fixed exit portal from ancient chamber.

* Added check to ensure axe id isn't outside the bounds of expected axes.
This commit is contained in:
Ben Maher
2019-10-06 17:35:24 +01:00
committed by Daniel Ginovker
parent b327e34f8e
commit f777f24e53
10 changed files with 77 additions and 59 deletions
@@ -20,7 +20,7 @@ public class Doors {
public static Doors getSingleton() {
if (singleton == null) {
singleton = new Doors("./data/doors.txt");
singleton = new Doors(System.getProperty("user.dir") + "/data/doors.txt");
}
return singleton;
}
@@ -50,7 +50,6 @@ public class DoubleDoors {
if (doorClicked == null) {
Server.objectHandler.placeObject(new Objects(-1, x, y, z, 0, 0, 0));
System.out.println("Removed null door for poor lad");
return true;
}
if (doorClicked.doorId > 12000) {