summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-07 05:40:31 +0000
committerxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-07 05:40:31 +0000
commitd5fd6f0996dabcb3b064c76081dccbf252aa3fe2 (patch)
treead0fdec99b1f791c4d5143b03497de7e523a3572 /src/map/battle.c
parent9774eafce41dab69a7a31335007a90a1765dd4e5 (diff)
downloadhercules-d5fd6f0996dabcb3b064c76081dccbf252aa3fe2.tar.gz
hercules-d5fd6f0996dabcb3b064c76081dccbf252aa3fe2.tar.bz2
hercules-d5fd6f0996dabcb3b064c76081dccbf252aa3fe2.tar.xz
hercules-d5fd6f0996dabcb3b064c76081dccbf252aa3fe2.zip
Fixed a few Ranger-related skills (bugreport:5272)
- Added check to not allow attacks when mounted on a Warg - Added check to only allow a certain amount of skills when mounted on a Warg - Updated Warg Bite's chance rate of immobilization and duration - Updated Arrowstorm and Aimed Bolt's skill ratio damage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15663 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index e777b4507..b2ae812a4 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1995,11 +1995,11 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
**/
case RA_ARROWSTORM:
skillratio += 100 + 50 * skill_lv;
- if( status_get_lv(src) > 100 ) skillratio += skillratio * (status_get_lv(src) - 100) / 200; // Base level bonus.
+ if( status_get_lv(src) > 100 ) 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 += skillratio * (status_get_lv(src) - 100) / 200; // Base level bonus.
+ skillratio += 500 + 50 * skill_lv;
+ if( status_get_lv(src) > 100 ) 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;