• 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.

    Requirements:

    1. The hero has an unspent skill point
    2. The skill is available for learning (not level-locked etc.)

    Parameters

    • whichHero: Unit<UnitEventMap>

      Target hero.

    • abilcode: number

      Abilities' raw code identifier.

    Returns void

Generated using TypeDoc