From 1dc42ff796f36477e8d117a7d42ae29f501a5dce Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 31 Jul 2020 23:17:51 -0300 Subject: [TMW2] ATTRFIX --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3-70-g09d2