summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-02-17 21:43:45 +0200
committerHaru <haru@dotalux.com>2016-07-12 20:58:39 +0200
commit527cf1b812a117285957be820ba1dc31533e9073 (patch)
treef06aac6f2c19f3b2f6498a2f368ffb5c7aee99dc /src/map/battle.c
parent2af9259a48ef9d7ec864fa80d1cb0392f2f2ee7a (diff)
downloadhercules-527cf1b812a117285957be820ba1dc31533e9073.tar.gz
hercules-527cf1b812a117285957be820ba1dc31533e9073.tar.bz2
hercules-527cf1b812a117285957be820ba1dc31533e9073.tar.xz
hercules-527cf1b812a117285957be820ba1dc31533e9073.zip
Interface random.c
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: