static void aura_cold_by_monster_attack(player_type *target_ptr, monap_type *monap_ptr)
{
- if (!target_ptr->sh_cold || !monap_ptr->alive || target_ptr->is_dead)
+ if (!has_sh_cold(target_ptr) || !monap_ptr->alive || target_ptr->is_dead)
return;
monster_race *r_ptr = &r_info[monap_ptr->m_ptr->r_idx];
if (creature_ptr->sh_elec)
self_ptr->info[self_ptr->line++] = _("あなたは電気に包まれている。", "You are surrounded with electricity.");
- if (creature_ptr->sh_cold)
+ if (has_sh_cold(creature_ptr))
self_ptr->info[self_ptr->line++] = _("あなたは冷気のオーラに包まれている。", "You are surrounded with an aura of coldness.");
if (creature_ptr->tim_sh_holy)
creature_ptr->anti_magic = has_anti_magic(creature_ptr);
creature_ptr->anti_tele = has_anti_tele(creature_ptr);
creature_ptr->sh_elec = has_sh_elec(creature_ptr);
- creature_ptr->sh_cold = has_sh_cold(creature_ptr);
creature_ptr->easy_spell = has_easy_spell(creature_ptr);
creature_ptr->heavy_spell = has_heavy_spell(creature_ptr);
creature_ptr->hold_exp = has_hold_exp(creature_ptr);
bool level_up_message;
BIT_FLAGS sh_elec; /* Electric 'immolation' effect */
- BIT_FLAGS sh_cold; /* Cold 'immolation' effect */
BIT_FLAGS anti_magic; /* Anti-magic */
BIT_FLAGS anti_tele; /* Prevent teleportation */