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

mapwindow click targeting of pickpocket spell in new style fails to open the inv and doll #49

Open
malignantmanor opened this issue Jan 6, 2016 · 3 comments
Labels

Comments

@malignantmanor
Copy link
Contributor

In new style, targeting an actor with pickpocket by clicking the mapwindow and casting by index in new style fails to open the inventory and doll. It works when you select the spell by clicking the spell or pressing enter.

@Zabeus
Copy link
Contributor

Zabeus commented Oct 17, 2017

If I type "cpy" (cast por ylem) and click on Shamino it just says "No effect". If I do "cpy", ENTER, and then click on Shamino, it does open the inventory.
Does that sound right? Is there another way to produce the bug?

@malignantmanor
Copy link
Contributor Author

You can also press c then scroll to the spell and click on the actor to cast it and it says no effect. If it is the last spell cast, you press c then click on the actor, and it has the same issue.

@Zabeus
Copy link
Contributor

Zabeus commented Oct 27, 2017

This is breaking between the Magic class and the pickpocket spell Lua script.
Clicking on the victim starts the pickpocket script, which checks if an item you want to steal has been passed. If an item hasn't been passed, it prompts "What object?" to get the item.
For some reason (because it's not expecting input in this order) when you click the victim before properly ending cast_mode, it's skips this and selects nil as the item, and fails immediately.
Still investigating.

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

No branches or pull requests

2 participants