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
problematic random creature button #1553
Comments
I'll try working on this issue as well. There's a few things I'll need clarifications on
|
@c3ho Awesome, patches always welcomed <3 Here are your answers:
Units get modified by buffs/debuffs, hence the right clicking specific units to see them in dash. |
@DreadKnight okay in that scenario, we may have a problem, because only one copy of the creature can only be on the field per player right? Unless you view another player's creature. |
@c3ho Given time, some creatures might have clones. Guessing at that point creatures will be defined with an unique generated id or creation or so. |
I managed to fix half of the issue, when right clicking on an empty space, it will check for the last viewed creature. If there has not been a creature(clicked and viewed from the Godlet Printer) it will always default to Dark Priest in the Godlet Printer. That seems to fix the issue:
That leaves the other half of the problem, what should happen when there was a last viewed unit but right clicked on the Dark Priest and then the player clicked on the Materialize button? |
@c3ho The materialize button tends to select a random materializable unit when clicked in that scenario. |
With all that said, actually do you think it would be better to disable all materialize functions when viewing a creature(including dark priest) on the field with right click and only allow the materialize function when right clicking on an empty hex? It seems kind of weird to see a "Materialize for X plasma" when a picture of the dark priest is displayed from the showCreature function haha |
@c3ho That's true, good point! I guess we could replace that large materialize button in the future with unit status icons (buffs and debuffs) when viewing creatures that are already materialized or not dead. |
Submitted PR #1555 to fix this issue |
no creature to be materialized, fixed FreezingMoon#1553
Reproducing these steps results in the
Godlet Printer
ability being selected with no creature actually selected to be materialized within Dark Priest's radius instead of just selecting a creature in dash mode.The text was updated successfully, but these errors were encountered: