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:
a38eba9
)
、ハ、゙、ア・ー・テ・コ、ホチェツホコンswitch、ネ、ヲ、隍ヲ、ヒスュハム、ィ。」、ウ、テ、チ、ホ、ロ、ヲ、ャトセエカナェ、ハ・ウ。シ・ノ、ヌ、キ、遉ヲ。」
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 22 Feb 2002 03:26:22 +0000
(
03:26
+0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 22 Feb 2002 03:26:22 +0000
(
03:26
+0000)
src/xtra2.c
patch
|
blob
|
history
diff --git
a/src/xtra2.c
b/src/xtra2.c
index
4d0c753
..
0f49129
100644
(file)
--- a/
src/xtra2.c
+++ b/
src/xtra2.c
@@
-1147,23
+1147,22
@@
msg_print("
{
do
{
-
if (one_in_
(3))
+
switch (randint0
(3))
{
+ case 0:
a_idx = ART_NAMAKE_HAMMER;
- chance = 100;
- }
- else if (one_in_(2))
- {
+ break;
+ case 1:
a_idx = ART_NAMAKE_BOW;
- chance = 100;
- }
- else
- {
+ break;
+ case 2:
a_idx = ART_NAMAKE_ARMOR;
-
chance = 100
;
+
break
;
}
}
while (a_info[a_idx].cur_num);
+
+ chance = 100;
}
else if (m_ptr->r_idx == MON_GHB)
{