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:
3cc398d
)
[Fix] #40514 閃光耐性計算ミス修正. / Fix lite resistance calculation.
author
deskull
<deskull@users.sourceforge.jp>
Sat, 12 Sep 2020 16:20:54 +0000
(
01:20
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sat, 12 Sep 2020 16:20:54 +0000
(
01:20
+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
292349a
..
f230a8e
100644
(file)
--- a/
src/effect/effect-player-resist-hurt.c
+++ b/
src/effect/effect-player-resist-hurt.c
@@
-366,7
+366,7
@@
void effect_player_lite(player_type *target_ptr, effect_player_type *ep_ptr)
(void)set_blind(target_ptr, target_ptr->blind + randint1(5) + 2);
}
- ep_ptr->dam = ep_ptr->dam * calc_
fire_damag
e_rate(target_ptr) / 100;
+ ep_ptr->dam = ep_ptr->dam * calc_
vuln_lit
e_rate(target_ptr) / 100;
if (is_specific_player_race(target_ptr, RACE_VAMPIRE) || (target_ptr->mimic_form == MIMIC_VAMPIRE)) {
if (!check_multishadow(target_ptr))