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:
dd2aac9
)
make_artifact_special()内の一部現在階に依存していた生成判定をオブジェクト生成階に直す。 / Fix parts of process depend...
author
Deskull
<desull@users.sourceforge.jp>
Wed, 25 Feb 2015 14:19:01 +0000
(23:19 +0900)
committer
Deskull
<desull@users.sourceforge.jp>
Wed, 25 Feb 2015 14:19:01 +0000
(23:19 +0900)
src/object2.c
patch
|
blob
|
history
diff --git
a/src/object2.c
b/src/object2.c
index
424c56f
..
438b9e9
100644
(file)
--- a/
src/object2.c
+++ b/
src/object2.c
@@
-2098,7
+2098,6
@@
static void object_mention(object_type *o_ptr)
* "apply_magic()" is called immediately after we return.\n
*\n
* Note -- see "make_artifact()" and "apply_magic()"\n
* "apply_magic()" is called immediately after we return.\n
*\n
* Note -- see "make_artifact()" and "apply_magic()"\n
- * @todo 生成基準を dun_level から obj_level に直すか検討。
*/
static bool make_artifact_special(object_type *o_ptr)
{
*/
static bool make_artifact_special(object_type *o_ptr)
{
@@
-2126,10
+2125,10
@@
static bool make_artifact_special(object_type *o_ptr)
/*! @note アーティファクト生成階が現在に対して足りない場合は高確率で1/(不足階層*2)を満たさないと生成リストに加えられない /
* XXX XXX Enforce minimum "depth" (loosely) */
/*! @note アーティファクト生成階が現在に対して足りない場合は高確率で1/(不足階層*2)を満たさないと生成リストに加えられない /
* XXX XXX Enforce minimum "depth" (loosely) */
- if (a_ptr->level >
dun
_level)
+ if (a_ptr->level >
object
_level)
{
/* @note / Acquire the "out-of-depth factor". Roll for out-of-depth creation. */
{
/* @note / Acquire the "out-of-depth factor". Roll for out-of-depth creation. */
- int d = (a_ptr->level -
dun
_level) * 2;
+ int d = (a_ptr->level -
object
_level) * 2;
if (!one_in_(d)) continue;
}
if (!one_in_(d)) continue;
}