summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-03 22:25:12 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-03 22:25:12 +0000
commit5f3d3713bc5c916f6d36416680a0da22b3beb26f (patch)
tree0b56cd7192f10a6f57f73cbac625c8ec95df54bb /src/map/battle.c
parentd44ca6520a2755831e7e9cca47da64531d449a64 (diff)
downloadhercules-5f3d3713bc5c916f6d36416680a0da22b3beb26f.tar.gz
hercules-5f3d3713bc5c916f6d36416680a0da22b3beb26f.tar.bz2
hercules-5f3d3713bc5c916f6d36416680a0da22b3beb26f.tar.xz
hercules-5f3d3713bc5c916f6d36416680a0da22b3beb26f.zip
Removed unused and unofficial bonus `bRandomAttackIncrease` (in SVN since r2, bugreport:2139).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 3fe4a23b0..9b79927da 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1515,10 +1515,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
skillratio += 100;
}
if( !skill_num )
- { // Random chance to deal multiplied damage - Consider it as part of skill-based-damage
- if( sd && sd->random_attack_increase_add > 0 && sd->random_attack_increase_per && rand()%100 < sd->random_attack_increase_per )
- skillratio += sd->random_attack_increase_add;
-
+ {
ATK_RATE(skillratio);
}
else