ep_ptr->dam = ep_ptr->dam * calc_nexus_damage_rate(target_ptr, CALC_RAND) / 100;
- if (!target_ptr->resist_nexus && !check_multishadow(target_ptr)) {
+ if (!has_resist_nexus(target_ptr) && !check_multishadow(target_ptr)) {
apply_nexus(ep_ptr->m_ptr, target_ptr);
}
break;
case DRS_NEXUS:
- if (player_ptr->resist_nexus)
+ if (has_resist_nexus(player_ptr))
m_ptr->smart |= SM_RES_NEXUS;
break;
if (target_ptr->resist_blind)
msr_ptr->smart |= SM_RES_BLIND;
- if (target_ptr->resist_nexus)
+ if (has_resist_nexus(target_ptr))
msr_ptr->smart |= SM_RES_NEXUS;
if (has_resist_sound(target_ptr))
bool resist, saving_throw;
if (TARGET_TYPE == MONSTER_TO_PLAYER) {
- resist = (target_ptr->resist_nexus != 0);
+ resist = (has_resist_nexus(target_ptr) != 0);
saving_throw = (randint0(100 + rlev / 2) < target_ptr->skill_sav);
spell_badstatus_message(target_ptr, m_idx, t_idx, _("%^sが何か奇妙な言葉をつぶやいた。", "%^s mumbles strangely."),
_("%^sがあなたの足を指さした。", "%^s gestures at your feet."), _("しかし効果がなかった!", "You are unaffected!"),
}
if ((creature_ptr->muta2 & MUT2_RTELEPORT) && (randint1(5000) == 88)) {
- if (!creature_ptr->resist_nexus && !(creature_ptr->muta1 & MUT1_VTELEPORT) && !creature_ptr->anti_tele) {
+ if (!has_resist_nexus(creature_ptr) && !(creature_ptr->muta1 & MUT1_VTELEPORT) && !creature_ptr->anti_tele) {
disturb(creature_ptr, FALSE, TRUE);
msg_print(_("あなたの位置は突然ひじょうに不確定になった...", "Your position suddenly seems very uncertain..."));
msg_print(NULL);
if (has_resist_shard(creature_ptr))
self_ptr->info[self_ptr->line++] = _("あなたは破片の攻撃への耐性を持っている。", "You are resistant to blasts of shards.");
- if (creature_ptr->resist_nexus)
+ if (has_resist_nexus(creature_ptr))
self_ptr->info[self_ptr->line++] = _("あなたは因果混乱の攻撃への耐性を持っている。", "You are resistant to nexus attacks.");
if (is_specific_player_race(creature_ptr, RACE_SPECTRE))
has_curses(creature_ptr);
creature_ptr->impact = has_impact(creature_ptr);
has_extra_blow(creature_ptr);
- creature_ptr->resist_nexus = has_resist_nexus(creature_ptr);
creature_ptr->resist_blind = has_resist_blind(creature_ptr);
creature_ptr->resist_neth = has_resist_neth(creature_ptr);
creature_ptr->resist_time = has_resist_time(creature_ptr);
bool is_fired;
bool level_up_message;
- BIT_FLAGS resist_nexus; /* Resist nexus */
BIT_FLAGS resist_blind; /* Resist blindness */
BIT_FLAGS resist_neth; /* Resist nether */
BIT_FLAGS resist_fear; /* Resist fear */