summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index f5200456d..e38fd8a37 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1996,12 +1996,12 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
case RA_ARROWSTORM:
skillratio += 900 + 80 * skill_lv;
if( status_get_lv(src) > 100 )
- skillratio *= (status_get_lv(src) / 100); // Base level bonus.
+ skillratio = skillratio * status_get_lv(src) / 100; // Base level bonus.
break;
case RA_AIMEDBOLT:
skillratio += 400 + 50 * skill_lv;
if( status_get_lv(src) > 100 )
- skillratio *= (status_get_lv(src) / 100); // Base level bonus.
+ skillratio = skillratio * status_get_lv(src) / 100; // Base level bonus.
if( tsc && (tsc->data[SC_BITE] || tsc->data[SC_ANKLE] || tsc->data[SC_ELECTRICSHOCKER]) )
wd.div_ = tstatus->size + 2 + rnd()%2;
break;