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

Skills which targets allies ignore hidden targets #2373

Merged
merged 1 commit into from Oct 3, 2020
Merged

Skills which targets allies ignore hidden targets #2373

merged 1 commit into from Oct 3, 2020

Conversation

ghost
Copy link

@ghost ghost commented Oct 3, 2020

If an enemy uses a skill which targets all his allies then his hidden allies are no longer targeted anymore.

If an enemy uses a skill which targets all his allies then his hidden
allies are no longer targeted anymore.
@Ghabry
Copy link
Member

Ghabry commented Oct 3, 2020

Is this a regression?
Take a look at #2107 first commit 192943d
Why isn't that change sufficient here?

@ghost
Copy link
Author

ghost commented Oct 3, 2020

It is because if the skill.scope is Scope_ally or Scope_party then the return GetTarget()->Exists() is never reached because it gets caught by return true. We have no regression here, the problem mentioned here already existed before #2107 was merged.

@Ghabry
Copy link
Member

Ghabry commented Oct 3, 2020

ah okay, so this is an edge-case we didn't consider.

@rueter37
Could you please stop for the next hours to push any commits onto Github? (at least not into branches where you have open PRs)

Want to release Player 0.6.2.3 today which fixes the absorb crash. As these releases are created via backporting commits (https://github.com/EasyRPG/Player/tree/0-6-2-stable). I must recompile liblcf and this will take a long time when anybody pushes commits because this will make the builders busy.
Thank you!

@ghost
Copy link
Author

ghost commented Oct 3, 2020

Acknowledged. 👍

@Ghabry Ghabry added this to the 0.6.3 milestone Oct 3, 2020
@Ghabry Ghabry added the Battle label Oct 3, 2020
@Ghabry Ghabry merged commit 06c9349 into EasyRPG:master Oct 3, 2020
@ghost ghost deleted the skills-hiddentarget-fix branch October 3, 2020 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants