Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Enemy skipping

In battle, occasionally enemies will just skip turns, even if "Do Nothing" isn't on their list of commands.  This is a big problem, as some enemies will skip 5 or 6 turns, making battles too easy.  Where in the script would I fix this?
 
Game_Enemy,  make_action method

Try changing line 304

#          if value < action.rating - (rating_max - 3)
          if value <= action.rating - (rating_max - 3)

Let me know if that works, it's just a theory  :scruff:
 
shiroun":1qoprg1n said:
You could alternatively make a condition branch if his SP is to low...
That probably wouldn't be necessary, since this is a battle you're expected to lose, and the enemy's skills are unique only to him, but I guess I could do that.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top