diff options
author | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-08 03:37:24 +0000 |
---|---|---|
committer | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-08 03:37:24 +0000 |
commit | b26067dc6831670ba2adb2eb1e80ca28acf08e5f (patch) | |
tree | d1d467445d9491120ad73c41421ade98922f0067 /src/map/battle.c | |
parent | 135ec52fa3accd8a599c5ac006157f4c85428935 (diff) | |
download | hercules-b26067dc6831670ba2adb2eb1e80ca28acf08e5f.tar.gz hercules-b26067dc6831670ba2adb2eb1e80ca28acf08e5f.tar.bz2 hercules-b26067dc6831670ba2adb2eb1e80ca28acf08e5f.tar.xz hercules-b26067dc6831670ba2adb2eb1e80ca28acf08e5f.zip |
- Correctly fixed Aimed Bolt and Arrow Storm skill ratios (related to bugreport:5272 and r15663) - thanks to Lighta
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15666 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index b2ae812a4..f5200456d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1994,12 +1994,14 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo * Ranger **/ case RA_ARROWSTORM: - skillratio += 100 + 50 * skill_lv; - if( status_get_lv(src) > 100 ) skillratio += skillratio * (status_get_lv(src) / 100); // Base level bonus. + skillratio += 900 + 80 * skill_lv; + if( status_get_lv(src) > 100 ) + skillratio *= (status_get_lv(src) / 100); // Base level bonus. break; case RA_AIMEDBOLT: - skillratio += 500 + 50 * skill_lv; - if( status_get_lv(src) > 100 ) skillratio += skillratio * (status_get_lv(src) / 100); // Base level bonus. + skillratio += 400 + 50 * skill_lv; + if( status_get_lv(src) > 100 ) + 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; |