OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ee3b4
)
[Fix] 呪いの一時効果の狂戦士化の説明文が*鑑定*時に出ない #1059
author
Habu
<habu1010+github@gmail.com>
Tue, 15 Jun 2021 13:25:11 +0000
(22:25 +0900)
committer
Habu
<habu1010+github@gmail.com>
Tue, 15 Jun 2021 13:25:11 +0000
(22:25 +0900)
object_type の curse_flags の TRC::BERS_RAGE のチェック漏れによるもの。
他の呪いフラグと同じようにチェックするようにする。
src/perception/identification.cpp
patch
|
blob
|
history
diff --git
a/src/perception/identification.cpp
b/src/perception/identification.cpp
index
8c602e9
..
2aec881
100644
(file)
--- a/
src/perception/identification.cpp
+++ b/
src/perception/identification.cpp
@@
-654,7
+654,7
@@
bool screen_object(player_type *player_ptr, object_type *o_ptr, BIT_FLAGS mode)
info[i++] = _("それは恐怖感を引き起こす。", "It makes you subject to cowardice.");
}
- if (has_flag(flgs, TR_BERS_RAGE))
+ if (has_flag(flgs, TR_BERS_RAGE)
|| o_ptr->curse_flags.has(TRC::BERS_RAGE)
)
info[i++] = _("それは狂戦士化の発作を引き起こす。", "It makes you subject to berserker fits.");
if ((has_flag(flgs, TR_TELEPORT)) || o_ptr->curse_flags.has(TRC::TELEPORT)) {