-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Unselect initial town in the Town Portal spell list #4249
Conversation
I have this one-line change, but wondering now what's the fastest way to test it? 😅 There doesn't seem to be a way to select spells in the OG editor (for a hero, a town or a shrine). Does turning on some debug level gives all possible spells to the human player, for example? |
Hello @a1exsh,
It is not possible to do this in the scenario editor of the original game. |
Usually I just run the game in debug mode, put a breakpoint somewhere and edit whatever data structure so it contains all spells |
Spell Scroll works the best — thank you, this way one can also test it in the OG. I've tested the change and it works as I expected: the initial town is not selected, so clicking once doesn't immediately teleport the hero. The issue should be fixed by this. |
Hi @a1exsh , I think the original issue is based on a fact that we allow single mouse clicking and interpret 2 independent clicks as a double click (due to design). What we really need is to implementation of mouse double click support. I think the proposed change doesn't solve anything. |
It works the same way in OG and I think it's fine. @ihhub Didn't you write this on the issue ticket? ;)
It does solve the issue and I think it's a reasonable approach to this problem.. |
Oops, my bad🙂 |
Hi, @ihhub & @a1exsh. |
@a1exsh , thank you very much for this change! |
Fix #843