rhymu8354 / OmniaRegna

This holds public information about OmniaRegna (https://omniaregna.com/), an online RPG. Issues for the game may be reported here or in the game itself.
8 stars 1 forks source link

Can't attack enemy on same tile #292

Open domsson opened 4 years ago

domsson commented 4 years ago

When you're on the same tile as an enemy, the enemy can attack you. However, you have no way of attacking said enemy (since there is no here direction). This could be solved in one of two ways:

  1. Revoke enemies' ability to attack player when on the same tile
  2. Enable player to attack enemy on same tile

The second solution could be implemented by removing the need for a direction key for attacking, as outlined in issue #287 and giving enemies on the same tile the priority for the automatic direction selection.

rhymu8354 commented 4 years ago

Players shouldn't be able to stand on top of enemies (or vice-versa). The game needs to avoid the race condition of two characters moving simultaneously onto the same tile.