Skip to content

Commit

Permalink
Added SuperBoom to AutoGFS
Browse files Browse the repository at this point in the history
Readded location check to getPhase
  • Loading branch information
odtheking committed Nov 7, 2024
1 parent 56ad1c6 commit 2244580
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ object AutoGFS : Module(
inventory.find { it?.skyblockID == "ENDER_PEARL" }?.takeIf { refillPearl }?.also { fillItemFromSack(16, "ENDER_PEARL", "ender_pearl", false) }

inventory.find { it?.skyblockID == "INFLATABLE_JERRY" }?.takeIf { refillJerry }?.also { fillItemFromSack(64, "INFLATABLE_JERRY", "inflatable_jerry", false) }

inventory.find { it?.skyblockID == "SUPERBOOM_TNT" }.takeIf { it?.stackSize == 1 }?.also { fillItemFromSack(1, "SUPERBOOM_TNT", "superboom_tnt", false) }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ object DungeonUtils {
* @return The current phase of floor 7 boss, or `null` if the player is not in the boss room.
*/
fun getF7Phase(): M7Phases {
// if (!isFloor(7) || !inBoss) return M7Phases.Unknown
if ((!isFloor(7) || !inBoss) && !LocationUtils.currentArea.isArea(Island.SinglePlayer)) return M7Phases.Unknown

return when {
posY > 210 -> M7Phases.P1
Expand Down

0 comments on commit 2244580

Please sign in to comment.