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:
03b8e8d
)
[Fix] #40514 毒耐性計算ミス修正. / Fix poison resistance calculation.
author
deskull
<deskull@users.sourceforge.jp>
Sun, 13 Sep 2020 01:03:02 +0000
(10:03 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sun, 13 Sep 2020 01:03:02 +0000
(10:03 +0900)
src/effect/effect-player-resist-hurt.c
patch
|
blob
|
history
diff --git
a/src/effect/effect-player-resist-hurt.c
b/src/effect/effect-player-resist-hurt.c
index
0e263eb
..
4fb04b9
100644
(file)
--- a/
src/effect/effect-player-resist-hurt.c
+++ b/
src/effect/effect-player-resist-hurt.c
@@
-44,7
+44,7
@@
void effect_player_poison(player_type *target_ptr, effect_player_type *ep_ptr)
if (target_ptr->blind)
msg_print(_("毒で攻撃された!", "You are hit by poison!"));
- ep_ptr->dam = ep_ptr->dam * calc_
elec
_damage_rate(target_ptr) / 100;
+ ep_ptr->dam = ep_ptr->dam * calc_
pois
_damage_rate(target_ptr) / 100;
if ((!(double_resist || target_ptr->resist_pois)) && one_in_(HURT_CHANCE) && !check_multishadow(target_ptr)) {
do_dec_stat(target_ptr, A_CON);