Yao-class-cpp-studio/battle_game

Bug with airborne attack

Closed this issue · 0 comments

I once added a skill where the unit can bombard the target using airborne attack:
Screenshot 2023-01-15 214052
The sight bead above is controlled by direction keys and pressing space will launch the bomb. I happened to find that the bead can actually move out of the region, and to make things worse, pressing space can still evoke the attack, leading to a wasted chance.