nsensfel / tacticians-server

Server for Tacticians Online, written in Erlang.
https://tacticians.online
Apache License 2.0
1 stars 0 forks source link

Server more lenient than client over paths #9

Open nsensfel opened 5 years ago

nsensfel commented 5 years ago

The client does not allow a character to go twice on the same tile in a single turn. The server, however, does not check for this. Currently, there is no point in exploiting this (the path does not actually matter). Once the attacks of opportunity are in place, it can actually be exploited to take damage twice. This may be a problem if being attacked somehow results in an advantage being gained by the player. In any case, this is likely to cause issues further down the line (for example, if we get 'healing spots' or stuff like that) and needs to be addressed.