This fix is wonderful. I think you are getting at what I wanted when I first attempted this years ago :)<div><br></div><div>Attack delay also happening in ticks was definitely my bug :)<br><br>On Wednesday, September 12, 2018,  <<a href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2018-09-12 06:09:09 -0700 (Wed, 12 Sep 2018)<br>
839<br>
Fix atkq problems in turn-based mode when an attack has a negative delay<br>
<br>
Active-time battles not affected<br>
<br>
This fixes a bug where attack delays were counted in attacks AND ticks:<br>
a delay of 180 attacks would cause battle to pause for 10 seconds!<br>
<br>
Also, if multiple attacks had a negative or zero delay, it would pick the first<br>
one instead of the one with the lowest delay.<br>
<br>
Also, if there was an attack with zero delay (which is normally the case for the<br>
first attack in a round!) it would start even if one of the conditions in<br>
turn_mode_time_passage tried to prevent the passage of time. I don't know<br>
whather that was a problem or whether it indicates that those conditions didn't<br>
actually do anything!<br>
<br>
Instead of counting down delays by 1 each tick, delays of all attacks get<br>
incremented or decremented so the next attack has delay 0.<br>
---<br>
U   wip/bmod.rbas<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
</blockquote></div>