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

Fix issue with gems casting recall spells #2017

Merged
merged 3 commits into from
Jun 20, 2019

Conversation

LtRipley36706
Copy link
Member

No description provided.

Copy link
Collaborator

@gmriggs gmriggs left a comment

Choose a reason for hiding this comment

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

tested with packet crafting to ensure player cannot cast a portal spell w/ another player as the target, along with any other self-spells...

the result was blue message in chat box 'Target is out of range!', due to most self-spells having near-0 range in their spell data.

so this part looks good, however to make this completely correct, eventually spells should be checking their bitflags for the 'self target' bit, and ensuring target==self if that is the only valid target, and sending 'Invalid target' werror

@LtRipley36706 LtRipley36706 merged commit 50961fc into ACEmulator:master Jun 20, 2019
@LtRipley36706 LtRipley36706 deleted the portalgsmfix branch June 23, 2019 18:16
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.

None yet

2 participants