OSDN Git Service

Goemon is now cut down weak shoot/throwing and drop zantetsuken 100%
[hengband/hengband.git] / src / cmd2.c
index c6af4a1..a4d38c3 100644 (file)
@@ -3738,7 +3738,7 @@ void do_cmd_fire_aux(int item, object_type *j_ptr)
                        }
 
                        /* Did we hit it (penalize range) */
-                       if (test_hit_fire(chance - cur_dis, armour, m_ptr->ml))
+                       if (test_hit_fire(chance - cur_dis, m_ptr, m_ptr->ml, o_name))
                        {
                                bool fear = FALSE;
                                int tdam = tdam_base;
@@ -4424,7 +4424,7 @@ bool do_cmd_throw_aux(int mult, bool boomerang, int shuriken)
                        hit_body = TRUE;
 
                        /* Did we hit it (penalize range) */
-                       if (test_hit_fire(chance - cur_dis, r_ptr->ac, m_ptr->ml))
+                       if (test_hit_fire(chance - cur_dis, m_ptr, m_ptr->ml, o_name))
                        {
                                bool fear = FALSE;