I agree with the part of using a spell as check, so if there's a rat in the spell area, it removes the monster and heals itself. About the targeting, is there a way to make an specific monster only attack creatures with "x" name?
To avoid all the player related code, it could be just a monster...