diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-07 02:38:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-07 02:38:52 -0300 |
commit | a4ae39f7130a7ae13f431ed023076d1390e72bc1 (patch) | |
tree | 99caeecf6f2ed103109a956a15c2ebf9c0253a5f /.tools/beta.patch2 | |
parent | 34c40836458aa7a549962606c814a62ad3847467 (diff) | |
download | serverdata-a4ae39f7130a7ae13f431ed023076d1390e72bc1.tar.gz serverdata-a4ae39f7130a7ae13f431ed023076d1390e72bc1.tar.bz2 serverdata-a4ae39f7130a7ae13f431ed023076d1390e72bc1.tar.xz serverdata-a4ae39f7130a7ae13f431ed023076d1390e72bc1.zip |
Beta2 Patch Level 7
Diffstat (limited to '.tools/beta.patch2')
-rw-r--r-- | .tools/beta.patch2 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.tools/beta.patch2 b/.tools/beta.patch2 index d061a9bf3..000ef6d72 100644 --- a/.tools/beta.patch2 +++ b/.tools/beta.patch2 @@ -1,7 +1,16 @@ diff --git a/src/map/battle.c b/src/map/battle.c -index 37fc03bca..e10291b1f 100644 +index 37fc03bca..155d8cdd2 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]; @@ -4664,7 +4664,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src, struct bl skill_id == SN_SHARPSHOOTING || skill_id == MA_SHARPSHOOTING || skill_id == NJ_KIRIKAGE)) |