<div dir="ltr"><div>As it turns out "if I ever add support for those" happened today :D</div><div><br></div><div>Now it is much harder to get into a situation where a hero cannot take any action due to lack of MP or an empty inventory</div><div><br></div><div>Still not impossible though-- for example, if your inventory contains only a "Life" potion that can only target dead allies, and no allies are dead, then the items menu still counts as usable<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 6, 2022 at 10:14 AM James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>This means that the "Skip Turn" can pop into existence if the controlled enemy's menu becomes unusable in the middle of its turn.</div><div><br></div><div>It also means that "Skip Turn" can show up for a hero with an unusable menu, but only if they have no spell menus, and no access to the ITEM menu, those aren't supported yet-- but if I ever add support for those in does_battle_menu_have_targets() then it should just do the right thing.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 6, 2022 at 10:11 AM <<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">james<br>
2022-03-06 07:11:25 -0800 (Sun, 06 Mar 2022)<br>
83<br>
Move the logic for adding "Skip Turn" to an unusable menu into update_battle_menu()<br>
---<br>
U   wip/bmod.rbas<br>
<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
</blockquote></div>