Hi,

The Magician AI from 17. Enemies and Battle AI Game Tutorial seems to cast twice the spell.
Am I wrong ?

Let say the enemies is weak both to Fire and Water.
The Magician will cast Fire then Water.

The AI should stop at this point ? Although the Next Slot of the Water Ability Node is connected to the Random Node ...
Here, it seems that the Magician will random a third Spell ?

image
Post edited by StarCmd on
  • If an action node (e.g. Ability) actually is able to perform the action, the AI stops there - otherwise the AI continues with the node connected to the Next slot.

    E.g. if the combatant can't perform 1st ability node Fire 1 due to use costs, the AI goes on to the next Check Status, etc.
    If you're enjoying my products, free updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.