The alternator is gone already, The only reason the light is going off when you rev it is because you are giving it enough charge but it will eventually come back even after revving. Happened to mine and then power just cut out, luckily I could just pull into a car park, I'd suggest changing it for a new one before anything happens.