Bug: Two of my characters attacked an allied character with a reaction attack

BattleLord

Staff member
Loreseeker
Joined
02/12/2017
Messages
781
I just started with a new party, but during one of the earlier fights I stumbled upon a weird bug.
I was just fighting the first batch of bomig and standing guard, but then two of my guarding characters attacked one of my other allied guarding characters.



As you can see in the combat log, both Garren and Brax attacked and hitted Thalara, even though Brax (the white bull) isn't even next to Thalara.

I have no idea what could have triggered it, I was just using guard at the doorway and killing the Bomig as soon as they walked into my wall of fire.
But this kind of infighting really can't be allowed.

I'll send the logs and an autosave before the fight so perhaps you can figure out more from that.
 

DavidBVal

Developer
Staff member
Administrator
Joined
28/02/2015
Messages
7,585
I just started with a new party, but during one of the earlier fights I stumbled upon a weird bug.
I was just fighting the first batch of bomig and standing guard, but then two of my guarding characters attacked one of my other allied guarding characters.



As you can see in the combat log, both Garren and Brax attacked and hitted Thalara, even though Brax (the white bull) isn't even next to Thalara.

I have no idea what could have triggered it, I was just using guard at the doorway and killing the Bomig as soon as they walked into my wall of fire.
But this kind of infighting really can't be allowed.

I'll send the logs and an autosave before the fight so perhaps you can figure out more from that.


thanks. weird!
 

DavidBVal

Developer
Staff member
Administrator
Joined
28/02/2015
Messages
7,585
well, I couldn't reproduce it even if I managed to get to the same position, or nearly.

maybe it's related to the recent spawn into the area, instead of from a save. The code portion looks good. I'll add some extra code safeguards and logging.
 

BattleLord

Staff member
Loreseeker
Joined
02/12/2017
Messages
781
Maybe it can help if I describe the exact course of events for that turns so you might be able to replicate it that way:

1) Everyone was on guard
2) One bomig ran into my allies, they attacked and killed the bomig because they had fire attacks
3) The second bomig, who is the last living bomig of the encounter and the last one in the turn order ran against my guarding units
4) My guarding units do NOT do a reaction attack against this bomig, despite both of them still having the AP to do so
5) The combat turn ends
6) At the start of the combat turn, my first character gets attacked by the other two guarding characters
 

DavidBVal

Developer
Staff member
Administrator
Joined
28/02/2015
Messages
7,585
6) At the start of the combat turn, my first character gets attacked by the other two guarding characters
because she moved away, or just because?

oh wait... I just thought of something... the attacks to the bomig maybe got "queued" on her? hmmmm
 

DavidBVal

Developer
Staff member
Administrator
Joined
28/02/2015
Messages
7,585
I believe I got it, if reaction attacks are triggered just at the very moment the turn ends (last movement of last enemy), they get carried over to the next turn and fall upon the acting character.
 

VDX_360

Staff member
Moderator
Joined
20/01/2017
Messages
6,284
That might explain a lot of the other reaction attack oddites.
 

Alan_SP

Staff member
Administrator
Joined
11/01/2016
Messages
2,002
While waiting till David makes his own version of flappy bird, you can play it here:


P.S. It's very frustrating. :oops:
 

Top