Page 1 of 1
Melee Continuing After Break-Off.
Posted: Tue Jul 17, 2018 9:10 pm
by Ludendorf
This doesn't look right...

- Continuing Melee after Break Off Impact Foot.jpg (752.76 KiB) Viewed 1247 times
My warband are displaying predicted results for a melee with a unit of comitatenses who fell back after losing a melee with them. As the warband were engaged by a second warband, they didn't follow up. However, it seems the game still considers the two units to be in melee.
It might go away next turn like nothing happened, but for now, it's an odd visual glitch. I wonder if it's got something to do with my warband's impact foot status. I'll report what happens when my opponent gets their next turn in.
Re: Melee Continuing After Break-Off.
Posted: Wed Jul 18, 2018 7:45 am
by rbodleyscott
It is probably a glitch in the tooltip data, which may not have updated correctly.
It would have massive processing overheads if the tooltip was constantly recalculated (30 times per second), so it only gets recalculated when the situation has changed. In this case the script that decides when it should be updated apparently has not worked as intended. I will look into it.
It would be useful to know whether the game did in fact fight a melee next turn. (Although I am sure it won't, because even if it still thinks they are in combat, the combat resolution script should abort itself when it finds they are not in adjacent squares).
Re: Melee Continuing After Break-Off.
Posted: Wed Jul 18, 2018 8:00 am
by rbodleyscott
I think I have figured out the reason for this occurrence, and put in a fix to be tested in the next beta iteration, to force the tooltip to be recalculated after the break off move has been completed.
Re: Melee Continuing After Break-Off.
Posted: Wed Jul 18, 2018 5:57 pm
by Ludendorf
I can now confirm that there was no melee the next turn. It was just a visual hiccup.
Re: Melee Continuing After Break-Off.
Posted: Wed Jul 18, 2018 7:34 pm
by rbodleyscott
Ludendorf wrote: ↑Wed Jul 18, 2018 5:57 pm
I can now confirm that there was no melee the next turn. It was just a visual hiccup.
I think the problem was due to the tooltip being recalculated while the break off was queued but not yet actioned. Hopefully the fix we have going into the next beta iteration will prevent it from happening in future.