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 skills and hit rate problems

Alright, this is a 2-question topic.

1. Why does the enemy act like a total sitting duck without sufficient SP? For example, the enemy has 600 SP and can either use a skill that takes 800 SP or 300 SP or a regular attack/0 SP skill. The enemy picks the skill costing 800 SP and since the enemy doesn't have enough, it will skip the turn instead of trying an another attack. Is there some sort of way to fix this?

2. Why does having <100 hit rate due to a stat cause them to miss all the time? Even if you have 99% hit rate, when the enemy uses a physical skill, it misses every single time. Can this be fixed?

Answers and solutions are appretiated.
 
Enemy Action Selection Fix

This script will make it so that enemy actions will be taken regardless of their rating, and will make it so that the enemy action determination algorithm will intelligently exclude pointless actions.


Try that, it needs a little basic scripting knowledge to install it, but it seems to do the job. I make sure to put it into all my projects for the very reasons you asked about it.
 

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