Closed asyouw1sh closed 2 years ago
Thank you @asyouw1sh for the very thorough report. That's extremely helpful. So there are two things on that I can tell. I'll start with 4).
4) Our targeting algorithm keeps track of lastAllyTarget
and lastEnemyTarget
. So that if you heal an ally, then use a skill on an enemy. But then hit 'heal' again, it will automatically target your last ally. That's what happened in this situation.
1-3) This is actually also expected, targeting is meant to not persist past death. So anyone you have targeted will become an invalid target after they die. This is for a number of reasons, but one of which being that you can't just leave your target on a specific enemy throughout the whole game.
Describe the bug After death target highlight goes away, but ally is still targeted. When trying to select ally again it highlights but does not target in game, instead it targets self. Attempting to select again does not remove the highlight, but still heals self regardless.
To Reproduce Steps to reproduce the behavior:
Expected behavior When selecting an ally in arcade mode they should be targeted in game. If the ally is already targeted and is clicked again I believe the normal behavior was to target self.
Screenshots or Output Logs Unfortunately I did not capture anything as I thought I was recording...
Additional context Penguin mentioned that the index may be off by 1 due to assigning a new id after death.