diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-01 21:30:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-01 21:30:02 -0300 |
commit | 44862dca9b6f26513f23ea1fd79365c7a8d33d9e (patch) | |
tree | d125ad9b9249c6f061a11991ec1b5d742662236c /npc/017-3 | |
parent | d3c277d189ff513258f290c84680d275c4d05e0c (diff) | |
download | serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.gz serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.bz2 serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.xz serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.zip |
Use rand2() instead of rand() in several places
Diffstat (limited to 'npc/017-3')
-rw-r--r-- | npc/017-3/dimonds.txt | 2 | ||||
-rw-r--r-- | npc/017-3/slots.txt | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/017-3/dimonds.txt b/npc/017-3/dimonds.txt index 06980aae3..e32654722 100644 --- a/npc/017-3/dimonds.txt +++ b/npc/017-3/dimonds.txt @@ -616,7 +616,7 @@ OnInit: close; Zeny=Zeny-100; recovery(getcharid(3)); - if (rand(1,3) == 1) + if (rand2(1,3) == 1) sc_start SC_POISON, 60000, 0, 10000; else sc_start SC_ATTHASTE_POTION1, 60000, 5; diff --git a/npc/017-3/slots.txt b/npc/017-3/slots.txt index d77761d72..3394a8fb7 100644 --- a/npc/017-3/slots.txt +++ b/npc/017-3/slots.txt @@ -63,9 +63,9 @@ L_Spin: mesc l("Spinning..."); next; delitem CasinoCoins, 2; - .@a=rand(1,7); - .@b=rand(1,7); - .@c=rand(1,7); + .@a=rand2(1,7); + .@b=rand2(1,7); + .@c=rand2(1,7); symbol(.@a); symbol(.@b); symbol(.@c); |