[Ohrrpgce] SVN: james/12760 Add a "Skip Turn" menu item if an enemy under player control has no vali

Ralph Versteegen teeemcee at gmail.com
Sat Feb 5 16:27:26 PST 2022


That's nice to have; I suppose it should be an option in the hero battle
menu editor although we could have a pref bit to automatically append that
option when there are no possible actions (which would only be when it
hasn't been manually added). The question is whether it should be on by
default. Probably yes?

One problem is that due to all the bugs in attack cost checking code it
might not be simple to figure out whether an attack or item can actually be
used.

On Sun, 6 Feb 2022 at 09:47, James Paige <Bob at hamsterrepublic.com> wrote:

> Right now this is only for player controlled enemies, but we might want to
> enable this for heroes too, particularly in turn-based mode where the risk
> of getting stuck is most significant. Before that happens, we would
> probably need to figure out how to make does_battle_menu_have_targets()
> support spell lists and the item menu
>
> On Sat, Feb 5, 2022 at 3:40 PM <subversion at hamsterrepublic.com> wrote:
>
>> james
>> 2022-02-05 12:40:39 -0800 (Sat, 05 Feb 2022)
>> 294
>> Add a "Skip Turn" menu item if an enemy under player control has no valid
>> targets
>> thus preventing them from getting the battle stuck (especially in
>> turn-based mode)
>> (This is a common occurrence when an enemy has both "Controlled" and
>> "Turncoat" but not "Defector" or "Win battle even if alive")
>> ---
>> U   wip/battle_udts.bi
>> U   wip/bmod.rbas
>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220206/71e7b2d6/attachment.html>


More information about the Ohrrpgce mailing list