Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dungeon Flow Events: #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yourboykyle
Copy link

  • Enter dungeon
  • Dungeon started
  • Dungeon ended
  • Left dungeon
  • Wither key obtained
  • Wither door opened
  • Blood key obtained
  • Blood door opened
  • Entered boss fight

- Enter dungeon
- Dungeon started
- Dungeon ended
- Left dungeon
- Wither key obtained
- Wither door opened
- Blood key obtained
- Blood door opened
- Entered boss fight
@yourboykyle yourboykyle mentioned this pull request Oct 4, 2023
Copy link

@UnexDev UnexDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a couple concerns:

Why is all of the functionality inside a "Util" class?
Code is a bit messy, and you rewrote things that are not related to this PR.

If I could propose code changes, I would probably move functionality out of a "Util" class so that we don't dive into util hell. I would also revert some of the formatting and placement changes so that the commit history is not a bunch of refactoring.

Refer to my other review below:

Copy link

@UnexDev UnexDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review specific things I commented and reply with your thoughts / feedback.

@yourboykyle
Copy link
Author

I have a couple concerns:

Why is all of the functionality inside a "Util" class? Code is a bit messy, and you rewrote things that are not related to this PR.

If I could propose code changes, I would probably move functionality out of a "Util" class so that we don't dive into util hell. I would also revert some of the formatting and placement changes so that the commit history is not a bunch of refactoring.

Refer to my other review below:

Do the formatting and placement changes really matter? It was triggering my OCD very much.

- Changed "if(!isInDungeon()) return;" to be "if(isInDungeon()) {...}"
- Moved DungeonUtils to io.github.skyblockcore.dungeons
- Added name of boss to EnteredBossfightCallback
- Added score to DungeonEndedCallback
- Added the class (Healer, Mage, Berserk, Archer, Tank) to DungeonStartedCallback
Ascynx
Ascynx previously approved these changes Oct 4, 2023
@UnexDev
Copy link

UnexDev commented Oct 4, 2023

I have a couple concerns:

Why is all of the functionality inside a "Util" class? Code is a bit messy, and you rewrote things that are not related to this PR.

If I could propose code changes, I would probably move functionality out of a "Util" class so that we don't dive into util hell. I would also revert some of the formatting and placement changes so that the commit history is not a bunch of refactoring.

Refer to my other review below:

Do the formatting and placement changes really matter? It was triggering my OCD very much.

I really appreciate the time and effort, however I have one little issue:
There is still a "DungeonUtils" class. Can you move it to io.github.skyblockcore.Dungeons?

If I could propose edits I would :/

@yourboykyle
Copy link
Author

I have a couple concerns:

Why is all of the functionality inside a "Util" class? Code is a bit messy, and you rewrote things that are not related to this PR.

If I could propose code changes, I would probably move functionality out of a "Util" class so that we don't dive into util hell. I would also revert some of the formatting and placement changes so that the commit history is not a bunch of refactoring.

Refer to my other review below:

Do the formatting and placement changes really matter? It was triggering my OCD very much.

I really appreciate the time and effort, however I have one little issue: There is still a "DungeonUtils" class. Can you move it to io.github.skyblockcore.Dungeons?

If I could propose edits I would :/

Done. Will commit in the morning.

…ockcore.Dungeons, as per Unex's suggestion.
@yourboykyle
Copy link
Author

Pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants