M_CheckAttack from g_ai.c to g_monster.c