A simple test map I made for this
topic. There are enemies laid out throughout the entire map. Teal is a computer controlled Civilian that follows the player (who is also a Civilian) and can have two personalities set to it. These are "aggressive" and "guardian".
- Aggressive: Teal will attack/target any enemies nearby himself regardless of if the player is being attacked or not.
- Guardian: Teal will only target enemies near the player, choosing him/her as the first priority. It will attack enemies that are chasing it while it is running towards the player.
The player has three actions that they can do by making units at a Gateway.
Zealot: Uses a knife attack on nearby enemies. It takes three hits to kill one.
Dragoon: Sets teal's personality to "Aggressive" (default).
High Templar: Sets teal's personality to "Guardian".
Note that your hits and teal's hits will not combine. This is because I was lazy

.