Author Topic: [Fix Req] overwatch triggered and used my AP for the next turn  (Read 12546 times)

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Turn A: I set Overwatch. The enemy didn't move in range and Overwatch didn't trigger.
Turn B: I manually fired. The enemy had a turn and my character used Overwatch.
Turn C: I didn't have enough AP at the start of my turn to do anything.

Edit: I discovered that a second character also had no AP at the start of that turn. It was the same situation as above (I set them both at the same time). So, they must have had an Overwatch shot too, but I didn't see it.
« Last Edit: July 24, 2017, 09:41:44 AM by Daithi »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] overwatch triggered and used my AP for the next turn
« Reply #1 on: July 24, 2017, 09:42:02 AM »
Will check it out

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] overwatch triggered and used my AP for the next turn
« Reply #2 on: July 24, 2017, 02:05:21 PM »
Was this ranged overwatch? Can you remember what weapons you were using, and if ranged, whether it was burst?

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: [Fix Req] overwatch triggered and used my AP for the next turn
« Reply #3 on: July 25, 2017, 02:08:02 AM »
They were both ranged Overwatches.
It would have likely been the Mac 10 looking gun and probably a pistol. Or even two pistols.
Either way, I'm moderately sure that at least one of them was using a pistol.

To make things easier (lol) I haven't had it happen since.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] overwatch triggered and used my AP for the next turn
« Reply #4 on: July 25, 2017, 12:08:33 PM »
Thanks! I haven't been able to recreate this one. Will have a look through the ranged code to see if anything jumps out.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Fix Req] overwatch triggered and used my AP for the next turn
« Reply #5 on: July 25, 2017, 09:59:34 PM »
Some additional questions:
Did you deliberately set him on overwatch at the end of turn B?
Was that character wounded at the point of turn C, or hit sometime between Turn B and Turn C?

I'm asking because had similar thing happened before (having only 1 AP at the beginning of a heavy wounded character's turn), but the description doesn't fit much.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Fix Req] overwatch triggered and used my AP for the next turn
« Reply #6 on: July 25, 2017, 11:11:44 PM »
Of course just a moment after asking dumb questions my game nicely recreates the Nomad's issue.

The episode of hand-to-hand with Ray:

Turn A: Ray moves and sets HtH overwatch in anticipation.
 - nobody approaches him, no trigger. Ray is sad.
Turn B: Ray moves and kicks a guy, twice (the guy is a lightly wounded). He ends a turn normally, all AP used.
 - the second guy moves into HtH range and is attacked by Ray, despite him no overwatching.
Turn C: Rays starts the turn with less AP available - probably used by the unexpected attack, as Nomad described.

Daithi, how goes the ranged code combing?  ;D

Suspicious fellow this one:
Not triggered overwatch between A-B -> triggers unwanted overwatch between B-C if the window of opportunity occurs.


Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] overwatch triggered and used my AP for the next turn
« Reply #7 on: July 26, 2017, 10:37:18 AM »
Thanks guys! I forgot to remove the character from the overwatch list when their turn comes around again. Tested and this was causing ap reduction and overwatch to trigger in subsequent turns. Fixed!