creature_ptr->redraw |= PR_STATUS;
}
break;
- case RACE_MERFOLK:
- creature_ptr->resist_water = TRUE;
- break;
+
default:
break;
}
creature_ptr->resist_time = TRUE;
}
}
+
+void have_resist_water(player_type *creature_ptr)
+{
+ object_type *o_ptr;
+ BIT_FLAGS flgs[TR_FLAG_SIZE];
+ creature_ptr->resist_water = FALSE;
+
+ if (!creature_ptr->mimic_form && creature_ptr->prace == RACE_MERFOLK)
+ creature_ptr->resist_water = TRUE;
+}
void have_resist_blind(player_type *creature_ptr);
void have_resist_neth(player_type *creature_ptr);
void have_resist_time(player_type *creature_ptr);
+void have_resist_water(player_type *creature_ptr);
*/
static void clear_creature_bonuses(player_type *creature_ptr)
{
- creature_ptr->resist_water = FALSE;
creature_ptr->resist_fear = FALSE;
creature_ptr->immune_acid = FALSE;
creature_ptr->immune_elec = FALSE;