AI
In Tcg Engine Roguelike edition, the AI works based on defined behaviors assigned to each enemy. The behavior determines which card and which target they select during their turn. Enemies (unlike player characters) have access to all the cards in their deck.
Most basic enemies will just have the "random" behavior, which just picks a random card from the deck and plays it. But for more complex enemies like a boss, other behaviors can be defined. For example you could have an enemy that only attacks the character with the lower hp, or an enemy that plays basic attack, and switches to more powerful attacks when having lost half of its HP.
New behavior can be coded, more info in the Scripts section.
Last updated