Original Post
Hi everyone. I have an RPG game that i am currently working on. You can run around the world and fight enemies. I am not sure how you make any kind of AI. What i do as of right now to get my enemies to attack me, is just generate a random number and then each number specifies some action. i.e if the number is 1 he will regular attack me, if its 2 he will cast a spell etc. I dont really need any complex AI for my monsters, but i would like them to actually make moves based on whats happening. For instance if they can heal themselves i would like them to heal when they are getting close to dying. I am also working with C#. Could someone point me in the right direction or help me out with getting my enemies to fight better? Thanks in advanced!