yes, it sound like the fatigue system, with the exception it work on stats instead exp and the malus you need to PAY to inflict damage.
Seriusly, this can be an interesting mechanism for a boss fight, but not for an entire game