Techtree - Dependency Equivalents (Unit List)
This field was originally the main method for getting custom heroes to count in the default "3 heroes per player" limit in melee-style games. This functionality has now been deprecated with the presence of the Gameplay Constants field "Techtree - Dependency Equivalents - Hero". The current method for achieving the objective of this field is as follows:
Use the trigger action "Player - Limit Training of Unit-Type", and limit training of the custom hero in question to 1 (for melee-style maps, but you can make the number higher if you are trying to do something else). Put the action in a trigger that has the event "Map Initialization".
Add the custom hero to the Gameplay Constants field "Techtree - Dependency Equivalents - Hero".
The custom hero will now contribute towards the "3 heroes per player" limit.
EXTRA NOTES:
The trigger action "Melee Game - Hero Limits" resides in the "Melee Initialization" trigger by default when creating a new map. This action causes the number of allowable trained heroes per player to be set to 3. To change this limit, delete that action and instead use the trigger action "Player - Limit Training of Heroes".