Description
Ok, so, what if monsters had buildable gambits for behaving?
A gambit is something like:
(Condition + Target + Action)
And a monster's behaviour would be an ordered array of gambits, meaning they have priorities. The behaviour would try each action in order, until it finds one that can be executed. Otherwise it defaults to IDLE.
Like so:
- (HP<40% + Self + Cure)
- (___ + Nearest Player + Bolt)
- (___ + Nearest Player + Primary)
This would execute somewhat like this: If the monster has low health, it tries to heal itself. If it's not injured enough, or if it doesn't have a cure card, it tries casting bolt to the nearest player. If there is no bolt card, it tries to attack the nearest player. If there is no visible player nothing can be so done it defaults to 'IDLE'.
"___" conditions are empty. Meaning somethings don't need conditions (or the condition is always true), and it just checks if the action is valid instead (if it can find a target, if it can find the card in its hand).