怪物投掷

pull/3/head
luojunhui 1 year ago
parent 944f645b1e
commit 535fd2f213

@ -1327,7 +1327,7 @@ hits_bars(
&& obj_type != WAX_CANDLE && obj_type != LENSES
&& obj_type != TIN_WHISTLE && obj_type != MAGIC_WHISTLE);
break;
case ROCK_CLASS: /* includes boulder */
case ROCK_CLASS:
if (obj_type != STATUE || mons[otmp->corpsenm].msize > MZ_TINY)
hits = TRUE;
break;

@ -3067,7 +3067,7 @@ green_mon(struct monst *mon)
if (iflags.use_color)
return (ptr->mcolor == CLR_GREEN || ptr->mcolor == CLR_BRIGHT_GREEN);
#endif
/* approximation */
if (strstri(ptr->pmnames[NEUTRAL], "green")
|| (ptr->pmnames[MALE] && strstri(ptr->pmnames[MALE], "green"))
|| (ptr->pmnames[FEMALE] && strstri(ptr->pmnames[FEMALE], "green")))

Loading…
Cancel
Save