Abilities' raw code identifier
Spends a skill point of the hero to learn a skill. If the requirements are not met, does nothing. This is equivalent to clicking the red plus button in game and choosing a skill.
- The hero has an unspent skill point
- The skill is available for learning (not level-locked etc.)
- return type
- Source code
native SelectHeroSkill takes unit whichHero, integer abilcode returns nothing