Not sure if this is a bug or a flaw, but I was playing against a

/

halfblood.
Halfway throught the match the halfblood played a mirror shield. When both our hps were down to 20-30 and I started to recover the halfblood used holy light on himself...5 times. I masteried the match but I can't help wondering if the AI is intentionally stupid.
Should this be fixed or should we not ruin a good thing?