• Decreases the level of a unit's ability by 1. The level will not go below 1. Returns the new ability level.

    Parameters

    • whichUnit: Unit<UnitEventMap>

      The unit with the ability.

    • abilcode: number

      The four digit rawcode representation of the ability.

    Returns number

Generated using TypeDoc