Limit Heroes for All Players and Custom Heroes

The trigger “Limit Heroes to X per Hero-type (for all players)” doesn’t work for custom heroes, even after they’re added to the list in the Gameplay Constants. The trigger “Limit training of [Unit] to X for (player)” is a functional workaround.

i am also looking for a work around haven’t found one yet