summaryrefslogtreecommitdiff
path: root/.tools/beta.patch2
diff options
context:
space:
mode:
Diffstat (limited to '.tools/beta.patch2')
-rw-r--r--.tools/beta.patch211
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))