diff options
author | syeyoung <cyougn06@naver.com> | 2022-01-12 23:57:59 +0900 |
---|---|---|
committer | syeyoung <cyougn06@naver.com> | 2022-01-12 23:57:59 +0900 |
commit | 611ce01285265e2b2433b6676c678c6426e047bd (patch) | |
tree | 89f56846f8b2ea537f8fd240dcc367faafbf12cd /src/main/java/kr/syeyoung/dungeonsguide/dungeon | |
parent | 0e4e0e84296ad9dd4e992a03ca40588a6f6bcb84 (diff) | |
download | Skyblock-Dungeons-Guide-611ce01285265e2b2433b6676c678c6426e047bd.tar.gz Skyblock-Dungeons-Guide-611ce01285265e2b2433b6676c678c6426e047bd.tar.bz2 Skyblock-Dungeons-Guide-611ce01285265e2b2433b6676c678c6426e047bd.zip |
- Fix undisocvered room cnt getting reset to 0 on bossfight
- Miniboss not done is now 4 skill point penalty instead of 3
- Revamp skill score calculation so that it's a bit more read-able.
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java index ac8bfb1e..b6089ebd 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/MapProcessor.java @@ -218,8 +218,8 @@ public class MapProcessor { private void processMap(byte[] mapData) { int height = (int)((128.0 - topLeftMapPoint.y) / (unitRoomDimension.height + doorDimension.height)); int width = (int) ((128.0 - topLeftMapPoint.x) / (unitRoomDimension.width + doorDimension.height)); - undiscoveredRoom = 0; if (MapUtils.getMapColorAt(mapData,0,0) != 0) return; + undiscoveredRoom = 0; for (int y = 0; y <= height; y++){ for (int x = 0; x <= width; x++) { Point mapPoint = roomPointToMapPoint(new Point(x,y)); |