resting and exploring.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5147 c06c8d41-db1a-0410-9941-cceddc491573
ARP25R4B66WPY56X77RRYLHDTIVGZCG2GQGV5WX2UX3DUAS2SAAQC
bool is_safe = mons_wont_attack(mon)
|| mons_class_flag(mon->type, M_NO_EXP_GAIN);
bool is_safe = (mons_wont_attack(mon)
|| mons_class_flag(mon->type, M_NO_EXP_GAIN)
// only seen through glass walls
|| !see_grid_no_trans(mon->x, mon->y)
&& !mons_has_ranged_spell(mon));