diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-31 23:17:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-31 23:17:51 -0300 |
commit | 1dc42ff796f36477e8d117a7d42ae29f501a5dce (patch) | |
tree | 8862e96fb0c8a602587578a83846da37d2d1941a | |
parent | b3fe6ce98429acd80a89722b726cc70b69291e20 (diff) | |
download | hercules-1dc42ff796f36477e8d117a7d42ae29f501a5dce.tar.gz hercules-1dc42ff796f36477e8d117a7d42ae29f501a5dce.tar.bz2 hercules-1dc42ff796f36477e8d117a7d42ae29f501a5dce.tar.xz hercules-1dc42ff796f36477e8d117a7d42ae29f501a5dce.zip |
[TMW2] ATTRFIX
-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]; |