sustained = TRUE;
break;
case A_CHR:
- if (creature_ptr->sustain_chr)
+ if (has_sustain_chr(creature_ptr))
sustained = TRUE;
break;
default:
if (has_sustain_con(creature_ptr)) {
self_ptr->info[self_ptr->line++] = _("あなたの耐久力は維持されている。", "Your constitution is sustained.");
}
- if (has_sustain_dex (creature_ptr)) {
+ if (has_sustain_dex(creature_ptr)) {
self_ptr->info[self_ptr->line++] = _("あなたの器用さは維持されている。", "Your dexterity is sustained.");
}
- if (creature_ptr->sustain_chr) {
+ if (has_sustain_chr(creature_ptr)) {
self_ptr->info[self_ptr->line++] = _("あなたの魅力は維持されている。", "Your charisma is sustained.");
}
}
BIT_FLAGS anti_magic; /* Anti-magic */
BIT_FLAGS anti_tele; /* Prevent teleportation */
- BIT_FLAGS sustain_chr; /* Keep charisma */
-
BIT_FLAGS cursed; /* Player is cursed */
bool can_swim; /* No damage falling */
notice = TRUE;
if (randint1(1000) < v || one_in_(16)) {
- if (!creature_ptr->sustain_chr) {
+ if (!has_sustain_chr(creature_ptr)) {
msg_print(_("ひどい傷跡が残ってしまった。", "You have been horribly scarred."));
do_dec_stat(creature_ptr, A_CHR);
}
sust = TRUE;
break;
case A_CHR:
- if (creature_ptr->sustain_chr)
+ if (has_sustain_chr(creature_ptr))
sust = TRUE;
break;
}