Hi everyone!
I'm trying to implement a battle system where the enemy says or does something, before they attack and the player gets a hint on what the next action will be, so they can try to react accordingly.
The player has the action "Attack", "Defend", "Mean" (like throwing sand in the enemys eyes).
- "Attack" beats "Mean" and loses to "Defend"
- "Defend" beats "Attack" and loses to "Mean"
- "Mean" beats "Defend" and loses to "Attack"
(I know that this is very basic at the moment and needs a lot of refinement to get interesting 🙂 )
My question is, if this is actually possible.
An example of how this should work:
> Round starts
> "Enemy takes a step back" -> means the enemy will use "Defend"
> Player choses action "Mean"
> Both actors take their turns, in this case the player would damage the enemy
> New round starts
Of course the hints become less and less clear, so the player has to do more thinking while progressing or just wander the "Try and Error" path.
For this to work I need to know if there is a way to determine, which attack the enemy will use in his next turn. Is the enemy action chosen only after the player choses his own action or beforehand?
Thanks for all your help!
I'm trying to implement a battle system where the enemy says or does something, before they attack and the player gets a hint on what the next action will be, so they can try to react accordingly.
The player has the action "Attack", "Defend", "Mean" (like throwing sand in the enemys eyes).
- "Attack" beats "Mean" and loses to "Defend"
- "Defend" beats "Attack" and loses to "Mean"
- "Mean" beats "Defend" and loses to "Attack"
(I know that this is very basic at the moment and needs a lot of refinement to get interesting 🙂 )
My question is, if this is actually possible.
An example of how this should work:
> Round starts
> "Enemy takes a step back" -> means the enemy will use "Defend"
> Player choses action "Mean"
> Both actors take their turns, in this case the player would damage the enemy
> New round starts
Of course the hints become less and less clear, so the player has to do more thinking while progressing or just wander the "Try and Error" path.
For this to work I need to know if there is a way to determine, which attack the enemy will use in his next turn. Is the enemy action chosen only after the player choses his own action or beforehand?
Thanks for all your help!