Home
last modified time | relevance | path

Searched refs:immune_elec (Results 1 – 18 of 18) sorted by relevance

/dports/games/mangband/mangband-1.5.3/src/server/
H A Dxtra1.c2266 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()
H A Dmonster2.c2858 if (p_ptr->immune_elec) m_ptr->smart |= SM_IMM_ELEC; in update_smart_learn()
H A Dcmd1.c438 if (p_ptr->immune_elec) in tot_dam_aux_player()
H A Dmelee2.c110 if (p_ptr->immune_elec) smart |= SM_IMM_ELEC; in remove_bad_spells()
H A Dspells1.c1020 if (p_ptr->immune_elec || (dam <= 0)) return; in elec_dam()
H A Dspells2.c534 if (p_ptr->immune_elec) *f2 |= TR2_IM_ELEC; in player_flags_spoil()
/dports/games/mangband/mangband-1.5.3/src/common/
H A Dtypes.h1557 bool immune_elec; /* Immunity to lightning */ member
/dports/games/tomenet/tomenet-4.6.0/src/client/
H A Dplayer.pre423 bool immune_elec; /* Immunity to lightning */
/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Dxtra1.c2335 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;
H A Dspells1.c2948 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)
H A Dplayer.pre530 bool immune_elec; /* Immunity to lightning */
H A Dcmd1.c1304 if (q_ptr->immune_elec) in tot_dam_aux_player()
5160 if (!(p_ptr->immune_elec)) {
5234 if (!(p_ptr->immune_elec)) {
H A Dmonster2.c5132 if (p_ptr->immune_elec) m_ptr->smart |= SM_IMM_ELEC;
H A Dspells2.c1611 if (p_ptr->immune_elec) fprintf(fff, "You are completely immune to lightning.\n"); in self_knowledge()
H A Dmelee2.c316 if (p_ptr->immune_elec) smart |= SM_IMM_ELEC; in remove_bad_spells()
H A Dobject2.c7454 if (p_ptr->resist_elec || p_ptr->immune_elec) relec = FALSE;
/dports/games/tomenet/tomenet-4.6.0/lib/scpt/
H A Dcblue.lua313 if players(p).immune_elec == 1 then rese = "*" end
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Dtypes.h2463 bool immune_elec; /* Immunity to lightning */ member