sustained = TRUE;
break;
case A_DEX:
- if (creature_ptr->sustain_dex)
+ if (has_sustain_dex(creature_ptr))
sustained = TRUE;
break;
case A_CON:
if (creature_ptr->sustain_con) {
self_ptr->info[self_ptr->line++] = _("あなたの耐久力は維持されている。", "Your constitution is sustained.");
}
- if (creature_ptr->sustain_dex) {
+ if (has_sustain_dex (creature_ptr)) {
self_ptr->info[self_ptr->line++] = _("あなたの器用さは維持されている。", "Your dexterity is sustained.");
}
if (creature_ptr->sustain_chr) {
creature_ptr->hold_exp = has_hold_exp(creature_ptr);
creature_ptr->see_inv = has_see_inv(creature_ptr);
creature_ptr->free_act = has_free_act(creature_ptr);
- creature_ptr->sustain_dex = has_sustain_dex(creature_ptr);
creature_ptr->sustain_con = has_sustain_con(creature_ptr);
creature_ptr->sustain_chr = has_sustain_chr(creature_ptr);
creature_ptr->levitation = has_levitation(creature_ptr);
BIT_FLAGS anti_magic; /* Anti-magic */
BIT_FLAGS anti_tele; /* Prevent teleportation */
- BIT_FLAGS sustain_dex; /* Keep dexterity */
BIT_FLAGS sustain_con; /* Keep constitution */
BIT_FLAGS sustain_chr; /* Keep charisma */
sust = TRUE;
break;
case A_DEX:
- if (creature_ptr->sustain_dex)
+ if (has_sustain_dex(creature_ptr))
sust = TRUE;
break;
case A_CON: