diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-15 06:38:48 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-15 06:38:48 -0600 |
commit | d6dbf554bd866124b7c676187c351c3f67fd3906 (patch) | |
tree | 2301dbf20ee0994963ccebfd1c5f7fd73e08a200 /src/map/script.c | |
parent | a11a55e91bd25f52eac46a99f4c906e773245046 (diff) | |
parent | 29844ce5e2cd043551b46c1cd7bf3a36e357e3c6 (diff) | |
download | tmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.tar.gz tmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.tar.bz2 tmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.tar.xz tmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.zip |
Merge remote branch 'taw/master'
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index d01fc99..7c63b85 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -4158,7 +4158,7 @@ int buildin_sc_start2(struct script_state *st) bl = map_id2bl(st->rid); if(bl->type == BL_PC && ((struct map_session_data *)bl)->state.potionpitcher_flag) bl = map_id2bl(((struct map_session_data *)bl)->skilltarget); - if(rand()%10000 < per) + if(MRAND(10000) < per) skill_status_change_start(bl,type,val1,0,0,0,tick,0); return 0; } |