C++ AI Design Question
- by disney
Hi,
I am currently writing a bot for a MMORPG. Though, currently I am stuck at trying to figure out how to nicely implement this. The design problem is related to casting the character spells in the correct order. Here is a simple example to what I need to archieve. It's not related to casting them, but doing it in the correct order. I would know how simply cast them randomly, by checking which skill has not yet been casted, but in right order as being shown in the GUI, not really.
note: the skill amount may differ, it's not always 3, maximum 10 though.
Charactername < foobar has 3 skills.
Skill 1: Name ( random1 ) cooldown ( 1000 ms ) cast duration ( 500 ms )
Skill 2: Name ( random2 ) cooldown ( 1500 ms ) cast duration ( 700 ms )
Skill 3: Name ( random3 ) cooldown ( 2000 ms ) cast duration ( 900 ms )
I don't really know how I could implement this, if anyone has some thoughts, feel free to share. I do know that most of the people don't like the idea of cheating in games, I don't like it either, nor I am actually playing the game, but its an interesting field for me.
Thank you.