lore_ptr->misc_flags.set(MonsterMiscType::ESCORT);
}
- if (lore_ptr->r_ptr->flags1 & RF1_ESCORTS) {
- lore_ptr->flags1 |= (RF1_ESCORTS);
+ if (lore_ptr->r_ptr->misc_flags.has(MonsterMiscType::MORE_ESCORT)) {
+ lore_ptr->misc_flags.set(MonsterMiscType::MORE_ESCORT);
}
}
}
(void)place_monster_one(player_ptr, place_monster_m_idx, ny, nx, z, mode);
- if (monraces_info[z].misc_flags.has(MonsterMiscType::HAS_FRIENDS) || (r_ptr->flags1 & RF1_ESCORTS)) {
+ if (monraces_info[z].misc_flags.has(MonsterMiscType::HAS_FRIENDS) || r_ptr->misc_flags.has(MonsterMiscType::MORE_ESCORT)) {
(void)place_monster_group(player_ptr, place_monster_m_idx, ny, nx, z, mode);
}
}
}
hooked_roff(_("護衛の構成は", "These escorts"));
- if (lore_ptr->misc_flags.has(MonsterMiscType::ESCORT) || (lore_ptr->flags1 & RF1_ESCORTS)) {
+ if (lore_ptr->misc_flags.has(MonsterMiscType::ESCORT) || lore_ptr->misc_flags.has(MonsterMiscType::MORE_ESCORT)) {
hooked_roff(_("少なくとも", " at the least"));
}
void display_monster_collective(lore_type *lore_ptr)
{
- if (lore_ptr->misc_flags.has(MonsterMiscType::ESCORT) || (lore_ptr->flags1 & RF1_ESCORTS) || lore_ptr->reinforce) {
+ if (lore_ptr->misc_flags.has(MonsterMiscType::ESCORT) || lore_ptr->misc_flags.has(MonsterMiscType::MORE_ESCORT) || lore_ptr->reinforce) {
hooked_roff(format(_("%s^は通常護衛を伴って現れる。", "%s^ usually appears with escorts. "), Who::who(lore_ptr->msex)));
display_monster_escort_contents(lore_ptr);
} else if (lore_ptr->misc_flags.has(MonsterMiscType::HAS_FRIENDS)) {