Wesnoth: Micro AI 'Protect Unit' Step 2
completed by: Samuel Kim
mentors: Alarantalara, mattsc, Nils Kneuper
In a previous task (Micro AI 'Protect Unit' Step 1), a basic scenario-specific Micro AI 'Protect Unit' was created. The goal of this task is to generalize this Micro AI so as to make it usable in an arbitrary scenario. This is done by adding new parameters to the [micro_ai] tag that let the user customize the AI behavior. Some generalization of the AI engine code itself is also required.
This task requires task Micro AI 'Protect Unit' Step 1 to be completed first.