the master wizard fought for as long as he could , obliterating wave after wave of the shadow men , but the numbers had soon become too great , and the magic that ran through his veins had been weakened from lack of rest .