OSDN Git Service

剣術 "地走り", "虎伏絶刀勢" で期待値を計算する際に, 切れ味フラグによ
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 28 Jun 2003 06:42:14 +0000 (06:42 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 28 Jun 2003 06:42:14 +0000 (06:42 +0000)
る部分だけは鑑定前と鑑定後で計算が違うというバグを修正.

src/hissatsu.c

index ce814a1..bc79a96 100644 (file)
@@ -857,7 +857,7 @@ static bool cast_hissatsu_spell(int spell)
                                basedam *= 5;
                                basedam /= 3;
                        }
-                       else if (object_known_p(o_ptr) && (have_flag(flgs, TR_VORPAL)))
+                       else if (have_flag(flgs, TR_VORPAL))
                        {
                                /* vorpal flag only */
                                basedam *= 11;
@@ -1146,7 +1146,7 @@ msg_print("
                                basedam *= 5;
                                basedam /= 3;
                        }
-                       else if (object_known_p(o_ptr) && (have_flag(flgs, TR_VORPAL)))
+                       else if (have_flag(flgs, TR_VORPAL))
                        {
                                /* vorpal flag only */
                                basedam *= 11;