pents90 / eburp

The Eight-Bit Universal Role Playing Engine -- the technical masterpiece behind the hit RPG "Gurk III"!
121 stars 25 forks source link

Bug with touch attacks #11

Open quickfur opened 6 years ago

quickfur commented 6 years ago

This is a longstanding issue in Gurk III that I don't know where else to report to, so please excuse me if this has already been fixed.

Basically, there is a bug in combat where if a character has a ranged weapon and targets a non-adjacent monster, then in the next turn, if you select a touch-based attack (that ought to be able to target only adjacent monsters), then the default target is still the non-adjacent monster, and you'll be able to apply the short-ranged attack over a long distance.

Also, you won't be able to move to a different target unless you can get within a 1-tile radius of the character's current position within one move. This sorta "makes sense" in that a touch-based attack should only be able to reach within a 1-square radius of the character, but it fails to account for the initial default target which may be more than 1 square away.