From: deskull Date: Sat, 30 Mar 2019 10:21:53 +0000 (+0900) Subject: [Fix] #37353 berserk()のターン追加時の現値参照元が狂戦士化でなく士気高揚になっていたミスを修正。 X-Git-Tag: vmacos2.2.1-7a~455 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7c37e56efb2f4e634d4eb7cc407619a379fb4bf7;p=hengbandforosx%2Fhengbandosx.git [Fix] #37353 berserk()のターン追加時の現値参照元が狂戦士化でなく士気高揚になっていたミスを修正。 --- diff --git a/src/spells-status.c b/src/spells-status.c index a34746279..07ed81f5d 100644 --- a/src/spells-status.c +++ b/src/spells-status.c @@ -293,7 +293,7 @@ bool_hack berserk(int base) { bool_hack ident = FALSE; if (set_afraid(0)) ident = TRUE; - if (set_shero(p_ptr->hero + randint1(base) + base, FALSE)) ident = TRUE; + if (set_shero(p_ptr->shero + randint1(base) + base, FALSE)) ident = TRUE; if (hp_player(30)) ident = TRUE; return ident; }