creature_ptr->no_flowed = TRUE;
}
}
+
+void have_mighty_throw(player_type *creature_ptr)
+{
+ object_type *o_ptr;
+
+ creature_ptr->mighty_throw = FALSE;
+
+ for (int i = INVEN_RARM; i < INVEN_TOTAL; i++) {
+ o_ptr = &creature_ptr->inventory_list[i];
+ if (!o_ptr->k_idx)
+ continue;
+
+ if (o_ptr->name2 == EGO_RING_THROW)
+ creature_ptr->mighty_throw = TRUE;
+ }
+}
void have_down_saving(player_type *creature_ptr);
void have_no_ac(player_type *creature_ptr);
void have_no_flowed(player_type *creature_ptr);
+void have_mighty_throw(player_type *creature_ptr);
creature_ptr->anti_magic = FALSE;
creature_ptr->anti_tele = FALSE;
creature_ptr->warning = FALSE;
- creature_ptr->mighty_throw = FALSE;
creature_ptr->see_nocto = FALSE;
creature_ptr->immune_acid = FALSE;
creature_ptr->immune_elec = FALSE;
have_easy2_weapon(creature_ptr);
have_down_saving(creature_ptr);
have_no_ac(creature_ptr);
+ have_mighty_throw(creature_ptr);
calc_race_status(creature_ptr);
if (o_ptr->name2 == EGO_RING_RES_TIME)
creature_ptr->resist_time = TRUE;
- if (o_ptr->name2 == EGO_RING_THROW)
- creature_ptr->mighty_throw = TRUE;
if (have_flag(flgs, TR_EASY_SPELL))
creature_ptr->easy_spell = TRUE;
if (o_ptr->name2 == EGO_AMU_FOOL)