The data output from a fuzzy controller can then be plugged into a behavior tree or a finite state machine. Of course, we can also combine multiple controllers' output to make decisions. In fact, we can take a whole bunch of them to achieve the most realistic or interesting result (as realistic as a magic-using wizard can be, anyway).
The following figure illustrates a potential set of fuzzy logic controllers it can be used to determine whether or not to cast the heal spell:
We've looked at the health question already, but what about the rest? We have another set of questions that really don't mean much to our agent on their own:
Do you have enough mana? Well, you can have a little bit of mana, some mana, or a lot of mana. It would not be uncommon for a human player to ask this question as they choose to cast a magic spell in a game...