Searched refs:immune_elec (Results 1 – 18 of 18) sorted by relevance
2266 p_ptr->immune_elec = FALSE; in calc_bonuses()2335 if (f2 & (TR2_IM_ELEC)) p_ptr->immune_elec = TRUE; in calc_bonuses()2524 if (f2 & TR2_IM_ELEC) p_ptr->immune_elec = TRUE; in calc_bonuses()
2858 if (p_ptr->immune_elec) m_ptr->smart |= SM_IMM_ELEC; in update_smart_learn()
438 if (p_ptr->immune_elec) in tot_dam_aux_player()
110 if (p_ptr->immune_elec) smart |= SM_IMM_ELEC; in remove_bad_spells()
1020 if (p_ptr->immune_elec || (dam <= 0)) return; in elec_dam()
534 if (p_ptr->immune_elec) *f2 |= TR2_IM_ELEC; in player_flags_spoil()
1557 bool immune_elec; /* Immunity to lightning */ member
423 bool immune_elec; /* Immunity to lightning */
2335 if (r_ptr->flags3 & RF3_IM_ELEC) { p_ptr->immune_elec = TRUE; csheet_boni->cb[1] |= CB2_IELEC; } in calc_body_bonus()2365 if (immunity[immrand] == 2) { p_ptr->immune_elec = TRUE; csheet_boni->cb[1] |= CB2_IELEC; } in calc_body_bonus()2984 p_ptr->immune_elec = FALSE;3365 else { p_ptr->immune_elec = TRUE; csheet_boni[14].cb[1] |= CB2_IELEC; }3956 …if (f2 & TR2_IM_ELEC) { p_ptr->immune_elec = TRUE; csheet_boni[i-INVEN_WIELD].cb[1] |= CB2_IELEC; }4153 …if (o_ptr->xtra2 & 0x04) { p_ptr->immune_elec = TRUE; csheet_boni[i-INVEN_WIELD].cb[1] |= CB2_IELE…5800 if (p_ptr->resist_elec || p_ptr->oppose_elec || p_ptr->immune_elec)5921 p_ptr->immune_elec = FALSE;
2948 if (p_ptr->immune_elec || (dam <= 0)) return(0);3456 p_ptr->immune_elec) return(FALSE);8901 bool ignore_elec = p_ptr->oppose_elec || p_ptr->resist_elec || p_ptr->immune_elec;8903 bool inven_elec = (p_ptr->oppose_elec && p_ptr->resist_elec) || p_ptr->immune_elec;8905 if (p_ptr->immune_fire && p_ptr->immune_elec) dam = (dam + 8) / 9;8917 if (p_ptr->resist_elec || p_ptr->oppose_elec || p_ptr->immune_elec)
530 bool immune_elec; /* Immunity to lightning */
1304 if (q_ptr->immune_elec) in tot_dam_aux_player()5160 if (!(p_ptr->immune_elec)) {5234 if (!(p_ptr->immune_elec)) {
5132 if (p_ptr->immune_elec) m_ptr->smart |= SM_IMM_ELEC;
1611 if (p_ptr->immune_elec) fprintf(fff, "You are completely immune to lightning.\n"); in self_knowledge()
316 if (p_ptr->immune_elec) smart |= SM_IMM_ELEC; in remove_bad_spells()
7454 if (p_ptr->resist_elec || p_ptr->immune_elec) relec = FALSE;
313 if players(p).immune_elec == 1 then rese = "*" end
2463 bool immune_elec; /* Immunity to lightning */ member