Jump to content
Sign in to follow this  
ProtoflareX

Need help fixing a bug with "Attack an ally" states when applied to an enemy

Recommended Posts

In my project, whenever I apply a state that has the "Attack an ally" property on it to an enemy, the enemy that received the state will not do anything when its turn arrives. However, this only occurs on the same turn that the enemy received the state, once that turn passes, the enemy will attack its allies as it's supposed to. For a more detailed explanation, let's say that I have a "Confused" state in my game that has the "Attack an ally" property and lasts for 4 turns. If I apply the Confused state to an enemy, the enemy will not do anything on turn 1 of the state's duration, but on turns 2-4, it will behave normally. Is there anyone who knows what could possibly be causing this?

Share this post


Link to post
Share on other sites

I believe this is an effect of the enemies action getting changed. When the battle starts the enemy is set to attack enemy, then you change it to attack ally which makes that enemies turn complete. Kind of like putting stun on the enemy. It no longer attacks that turn.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×