I dont know if this is the right forum, since I have not been here for months, but when my guy uses the custom ability, its fine but as soon as I right-click for them to move, this errors appears after the game crashes...
Sorry for the lack of information. I got the problem fixed, I think it was that I based the metamorph form off a basic dragon unit. I remade the unit and based it off the same hero as my first hero, modified some stuff and it worked. Now I got my 2 new heros with 8 custom spells ^_^