summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index e61c1df19..6836d9b70 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -9025,7 +9025,7 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
{
int hp = status_get_hp(bl), sp = status_get_sp(bl), lv = 5;
- if( rand()%100 > (25 + 10 * val1) - status_get_int(bl) / 2)
+ if( rnd()%100 > (25 + 10 * val1) - status_get_int(bl) / 2)
return 0;
PER( 100 / (status_get_max_hp(bl) / hp), lv );