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

Bottled Memory Relic #328

Merged
merged 6 commits into from
Feb 3, 2020
Merged

Bottled Memory Relic #328

merged 6 commits into from
Feb 3, 2020

Conversation

wang429
Copy link
Collaborator

@wang429 wang429 commented Jan 27, 2020

Slight issue with using the CustomBottleRelic implementation; tiny bottle icon when rendering everywhere.
image
image

@dbjorge
Copy link
Owner

dbjorge commented Feb 2, 2020

Filed daviscook477/BaseMod#243 for the tiny icon on the card

}
}

/**
Copy link
Owner

Choose a reason for hiding this comment

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

This comment doesn't add any information that the method signature doesn't already cover

import javassist.expr.MethodCall;
import stsjorbsmod.relics.BottledMemoryRelic;

public class BottledMemoryPatch {
Copy link
Owner

@dbjorge dbjorge Feb 2, 2020

Choose a reason for hiding this comment

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

Based on searching for other base game references to inBottleFlame/etc, I think we're going to want a few more patches:

  • Duplicator, DollysMirror: Need to special case these to reset the inBottleMemory field back to false after they duplicate their target card
  • FountainOfCurseRemoval: Need to special case to avoid picking bottle cards

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sort of pretending that the FountainOfCurseRemoval actually did the right thing. ran through 250ish floors without seeing it, gave up.

Copy link
Owner

@dbjorge dbjorge left a comment

Choose a reason for hiding this comment

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

Looks very good overall, I think the biggest issue is the tiny icon rendering and I'd rather try to fix that in BaseMod (maybe contribute a patch if necessary). Just a few minor comments!

@wang429 wang429 requested a review from dbjorge February 3, 2020 05:26
@dbjorge dbjorge merged commit 66926ac into dbjorge:master Feb 3, 2020
@wang429 wang429 deleted the bottled-memory branch February 9, 2020 04:04
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.

2 participants