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

Correctly report last location if you multifight from an itemMonster #876

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

gausie
Copy link
Contributor

@gausie gausie commented Jul 11, 2022

I was tired of seeing [1234] null when I run a relativity fight from a Combat Lover's Locket fight - i.e. a fight without a location.

We have an existing infrastructure for these fights that are triggered without visiting a location. itemMonster might not be the best name for it really its there for handling locationless fights, so let's make sure we use it for some of the newer sources of those.

… Also, combats from choices are itemMonsters
@gausie gausie requested a review from a team as a code owner July 11, 2022 16:27
@gausie gausie merged commit f03c47e into main Jul 11, 2022
@gausie gausie deleted the multifight-item-monster branch July 11, 2022 18:17
@Veracity0
Copy link
Contributor

I didn't see this until it was already approved and merged, but I will point out that all of your new tests are named something like this: canReportPreviousLocationInMutliFightInLocation()

A "mutli-fight" is a new concept. :)

@gausie
Copy link
Contributor Author

gausie commented Jul 11, 2022

I didn't see this until it was already approved and merged, but I will point out that all of your new tests are named something like this: canReportPreviousLocationInMutliFightInLocation()

A "mutli-fight" is a new concept. :)

What do you mean? I named it after inMultiFight which was definitely not new to this PR

@Veracity0
Copy link
Contributor

Look more closely at the spelling.
"Mutli" != "Multi".

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