aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-15 01:35:42 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-15 01:35:42 +0900
commit5009cd40af60e0519609ef1656483ba14b60eef1 (patch)
treec6e01acbbfaab7ee841a01c27aeca24b766d5e26 /src/main/java/kr
parent29928dcb024c69e6213a33039253af9a0f872573 (diff)
downloadSkyblock-Dungeons-Guide-5009cd40af60e0519609ef1656483ba14b60eef1.tar.gz
Skyblock-Dungeons-Guide-5009cd40af60e0519609ef1656483ba14b60eef1.tar.bz2
Skyblock-Dungeons-Guide-5009cd40af60e0519609ef1656483ba14b60eef1.zip
this works fantastically
Diffstat (limited to 'src/main/java/kr')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java11
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java11
2 files changed, 0 insertions, 22 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java
index d496b450..8026ccfe 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java
@@ -32,17 +32,6 @@ public class DungeonDoor implements DungeonMechanic, RouteBlocker {
}
Set<Action> base;
Set<Action> preRequisites = base = new HashSet<Action>();
- if (!state.equalsIgnoreCase(getCurrentState(dungeonRoom))) {
- ActionClickSet actionClick;
- preRequisites.add(actionClick = new ActionClickSet(secretPoint));
- actionClick.setPredicate(PredicateSuperBoom.INSTANCE);
- preRequisites = actionClick.getPreRequisite();
- }
- {
- ActionMoveNearestAir actionMove = new ActionMoveNearestAir(secretPoint.getOffsetPointList().get(0));
- preRequisites.add(actionMove);
- preRequisites = actionMove.getPreRequisite();
- }
{
if (state.equalsIgnoreCase("open")) {
for (String str : openPreRequisite) {
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java
index 9027f0dc..27f6fc68 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java
@@ -32,17 +32,6 @@ public class DungeonOnewayDoor implements DungeonMechanic, RouteBlocker {
Set<Action> base;
Set<Action> preRequisites = base = new HashSet<Action>();
{
- ActionClickSet actionClick;
- preRequisites.add(actionClick = new ActionClickSet(secretPoint));
- actionClick.setPredicate(PredicateSuperBoom.INSTANCE);
- preRequisites = actionClick.getPreRequisite();
- }
- {
- ActionMoveNearestAir actionMove = new ActionMoveNearestAir(secretPoint.getOffsetPointList().get(0));
- preRequisites.add(actionMove);
- preRequisites = actionMove.getPreRequisite();
- }
- {
for (String str : preRequisite) {
if (str.isEmpty()) continue;
ActionChangeState actionChangeState = new ActionChangeState(str.split(":")[0], str.split(":")[1]);