if (hates_acid(o_ptr)) {
do_kill = TRUE;
note_kill = _("融けてしまった!", (plural ? " melt!" : " melts!"));
- if (have_flag(flags, TR_IGNORE_ACID))
+ if (has_flag(flags, TR_IGNORE_ACID))
ignore = TRUE;
}
if (hates_elec(o_ptr)) {
do_kill = TRUE;
note_kill = _("壊れてしまった!", (plural ? " are destroyed!" : " is destroyed!"));
- if (have_flag(flags, TR_IGNORE_ELEC))
+ if (has_flag(flags, TR_IGNORE_ELEC))
ignore = TRUE;
}
if (hates_fire(o_ptr)) {
do_kill = TRUE;
note_kill = _("燃えてしまった!", (plural ? " burn up!" : " burns up!"));
- if (have_flag(flags, TR_IGNORE_FIRE))
+ if (has_flag(flags, TR_IGNORE_FIRE))
ignore = TRUE;
}
if (hates_cold(o_ptr)) {
note_kill = _("砕け散ってしまった!", (plural ? " shatter!" : " shatters!"));
do_kill = TRUE;
- if (have_flag(flags, TR_IGNORE_COLD))
+ if (has_flag(flags, TR_IGNORE_COLD))
ignore = TRUE;
}
if (hates_fire(o_ptr)) {
do_kill = TRUE;
note_kill = _("燃えてしまった!", (plural ? " burn up!" : " burns up!"));
- if (have_flag(flags, TR_IGNORE_FIRE))
+ if (has_flag(flags, TR_IGNORE_FIRE))
ignore = TRUE;
}
ignore = FALSE;
do_kill = TRUE;
note_kill = _("壊れてしまった!", (plural ? " are destroyed!" : " is destroyed!"));
- if (have_flag(flags, TR_IGNORE_ELEC))
+ if (has_flag(flags, TR_IGNORE_ELEC))
ignore = TRUE;
}
if (hates_fire(o_ptr)) {
do_kill = TRUE;
note_kill = _("燃えてしまった!", (plural ? " burn up!" : " burns up!"));
- if (have_flag(flags, TR_IGNORE_FIRE))
+ if (has_flag(flags, TR_IGNORE_FIRE))
ignore = TRUE;
}
ignore = FALSE;
do_kill = TRUE;
note_kill = _("砕け散ってしまった!", (plural ? " shatter!" : " shatters!"));
- if (have_flag(flags, TR_IGNORE_COLD))
+ if (has_flag(flags, TR_IGNORE_COLD))
ignore = TRUE;
}
case GF_CHAOS: {
do_kill = TRUE;
note_kill = _("壊れてしまった!", (plural ? " are destroyed!" : " is destroyed!"));
- if (have_flag(flags, TR_RES_CHAOS))
+ if (has_flag(flags, TR_RES_CHAOS))
ignore = TRUE;
else if ((o_ptr->tval == TV_SCROLL) && (o_ptr->sval == SV_SCROLL_CHAOS))
ignore = TRUE;