summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-12 22:53:58 +0300
committerGitHub <noreply@github.com>2016-07-12 22:53:58 +0300
commit69df5ffa970dbcafde7dbb5d360c0ea28300cb50 (patch)
treeba5165b102784eb793da8e9cd8dc35108fbeeed0 /src/map/battle.c
parent4b8dd1cdaadba7ae2200f114a4e11ef62454eaa1 (diff)
parent14c9f5228fec75fc4e9bc8552e3fbae16f356103 (diff)
downloadhercules-69df5ffa970dbcafde7dbb5d360c0ea28300cb50.tar.gz
hercules-69df5ffa970dbcafde7dbb5d360c0ea28300cb50.tar.bz2
hercules-69df5ffa970dbcafde7dbb5d360c0ea28300cb50.tar.xz
hercules-69df5ffa970dbcafde7dbb5d360c0ea28300cb50.zip
Merge pull request #1290 from HerculesWS/common_interfacing
Common interfacing
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 944271efa..76b74a766 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2431,7 +2431,7 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block
RE_LVL_DMOD(100);
break;
case LG_OVERBRAND_PLUSATK:
- skillratio = 200 * skill_lv + rnd_value( 10, 100);
+ skillratio = 200 * skill_lv + rnd->value(10, 100);
RE_LVL_DMOD(100);
break;
case LG_RAYOFGENESIS: