summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 23e485bef..86cf18859 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7848,7 +7848,7 @@ int buildin_getscrate(struct script_state *st)
type=conv_num(st,& (st->stack->stack_data[st->start+2]));
rate=conv_num(st,& (st->stack->stack_data[st->start+3]));
if( st->end>st->start+4 ) //指定したキャラの耐性を計算する
- bl = map_id2bl(conv_num(st,& (st->stack->stack_data[st->start+6])));
+ bl = map_id2bl(conv_num(st,& (st->stack->stack_data[st->start+4])));
else
bl = map_id2bl(st->rid);