SteamWar/FightSystem
Archiviert
13
1

Fix HellsBells distribution

Dieser Commit ist enthalten in:
yoyosource 2021-06-26 15:52:49 +02:00
Ursprung 5d13591561
Commit de278feab3

Datei anzeigen

@ -77,7 +77,7 @@ public class HellsBells {
public void drop() {
Direction direction = Direction.getRandom();
AtomicInteger length = new AtomicInteger(10 + random.nextInt(direction.getLength(zLength, xLength) - 10));
AtomicInteger length = new AtomicInteger(20 + random.nextInt(direction.getLength(zLength, xLength) - 20));
int width = 5 + random.nextInt(5);
int xOffset = getStart(direction.getLength(xLength, zLength), direction.getLength(length.get(), width));
int zOffset = getStart(direction.getLength(zLength, xLength), direction.getLength(width, length.get()));