Rework PreferredClasses to target either Human or Human/Siege.
'Hack' melee units had a preference towards Siege units. This made them awkward to use in some fights.
PreferredClasses is not intended to remove Micro from the player's hand but to prevent units from attacking unlikely targets (e.g. ships for land units).
As such, this reworks PreferredClasses so that:
- Ranged & Spearmen/Pikemen (which deal Pierce damage) target Human units, against which they are reasonably effective.
- Other units target either Human or Siege units with no particular preference (Unit+!Ship).
This further specifies the preferred classes for all base templates for easier modification, since extending this list (ordered by priority) is tricky.
Patch by: borg-
Reviewed By: Nescio, wraitii
Differential Revision: https://code.wildfiregames.com/D2851