OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
724983c
)
[Fix] #37353 berserk()のターン追加時の現値参照元が狂戦士化でなく士気高揚になっていたミスを修正。
author
deskull
<deskull@users.sourceforge.jp>
Sat, 30 Mar 2019 10:21:53 +0000
(19:21 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sat, 30 Mar 2019 10:21:53 +0000
(19:21 +0900)
src/spells-status.c
patch
|
blob
|
history
diff --git
a/src/spells-status.c
b/src/spells-status.c
index
a347462
..
07ed81f
100644
(file)
--- 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->
s
hero + randint1(base) + base, FALSE)) ident = TRUE;
if (hp_player(30)) ident = TRUE;
return ident;
}