diff options
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 37fc03bca..6257e05e3 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -372,7 +372,7 @@ static int64 battle_attr_fix(struct block_list *src, struct block_list *target, return damage; } - ratio = battle->attr_fix_table[def_lv-1][atk_elem][def_type]; + ratio = battle->attr_fix_table[def_lv-1][def_type][atk_elem]; if (sc && sc->count) { if(sc->data[SC_VOLCANO] && atk_elem == ELE_FIRE) ratio += skill->enchant_eff[sc->data[SC_VOLCANO]->val1-1]; |