summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-04 21:05:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-04 21:05:44 +0000
commitebd3a5ed1bbbaa904df3a4938c5d98c27f5eb52a (patch)
treeb323cfb2c10beb20b3eaf279a761a267bd645a55 /src/map/battle.c
parentfd11074c8a088a78f90f2738c2a0d9b354aa5370 (diff)
downloadhercules-ebd3a5ed1bbbaa904df3a4938c5d98c27f5eb52a.tar.gz
hercules-ebd3a5ed1bbbaa904df3a4938c5d98c27f5eb52a.tar.bz2
hercules-ebd3a5ed1bbbaa904df3a4938c5d98c27f5eb52a.tar.xz
hercules-ebd3a5ed1bbbaa904df3a4938c5d98c27f5eb52a.zip
- Bowling bash now always hits twice regardless of situation.
- Added an underflow check to prevent sending to the client negative mdef2 value (for Frenzy'ed characters) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8934 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index b884a0f85..9336adb6c 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1328,8 +1328,7 @@ static struct Damage battle_calc_weapon_attack(
break;
}
case KN_BOWLINGBASH:
- //When mflag, this is a no-splash attack, damage gets a bonus of 100% at lv 10.
- skillratio+= (wflag?50:40)*skill_lv;
+ skillratio+= 40*skill_lv;
break;
case KN_AUTOCOUNTER:
case LK_SPIRALPIERCE: