Why dont you try adding a trigger that works like this : 1st you learn this ability. If hero has this item equal to false, then level down the ability and give 1 level point back. If hero has this item equal to true, then just let it level it up.
Tell me if i didnt help much ... (or if i just didnt help)