OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Good to_h Bows makes more critical. Decrease ammo's contribution.
[hengband/hengband.git]
/
src
/
cmd2.c
diff --git
a/src/cmd2.c
b/src/cmd2.c
index
7a6e352
..
c6af4a1
100644
(file)
--- a/
src/cmd2.c
+++ b/
src/cmd2.c
@@
-3806,7
+3806,7
@@
void do_cmd_fire_aux(int item, object_type *j_ptr)
{
/* Apply special damage XXX XXX XXX */
tdam = tot_dam_aux_shot(q_ptr, tdam, m_ptr);
{
/* Apply special damage XXX XXX XXX */
tdam = tot_dam_aux_shot(q_ptr, tdam, m_ptr);
- tdam = critical_shot(q_ptr->weight, q_ptr->to_h, tdam);
+ tdam = critical_shot(q_ptr->weight, q_ptr->to_h,
j_ptr->to_h,
tdam);
/* No negative damage */
if (tdam < 0) tdam = 0;
/* No negative damage */
if (tdam < 0) tdam = 0;
@@
-3860,7
+3860,8
@@
void do_cmd_fire_aux(int item, object_type *j_ptr)
else
{
/* STICK TO */
else
{
/* STICK TO */
- if (object_is_fixed_artifact(q_ptr))
+ if (object_is_fixed_artifact(q_ptr) &&
+ (p_ptr->pclass != CLASS_SNIPER || p_ptr->concent == 0))
{
char m_name[80];
{
char m_name[80];
@@
-4471,7
+4472,7
@@
bool do_cmd_throw_aux(int mult, bool boomerang, int shuriken)
tdam = damroll(dd, ds);
/* Apply special damage XXX XXX XXX */
tdam = tot_dam_aux(q_ptr, tdam, m_ptr, 0, TRUE);
tdam = damroll(dd, ds);
/* Apply special damage XXX XXX XXX */
tdam = tot_dam_aux(q_ptr, tdam, m_ptr, 0, TRUE);
- tdam = critical_shot(q_ptr->weight, q_ptr->to_h, tdam);
+ tdam = critical_shot(q_ptr->weight, q_ptr->to_h,
0,
tdam);
if (q_ptr->to_d > 0)
tdam += q_ptr->to_d;
else
if (q_ptr->to_d > 0)
tdam += q_ptr->to_d;
else