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/functions/news.txt | |
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/functions/news.txt')
-rw-r--r-- | npc/functions/news.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt index df0c4dc90..eb2a9c5b8 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -296,7 +296,7 @@ function script GameNews { mesc l("This somehow affected the whole economy."); next; mesc l("Some adventurer broke what was previously thought as maximum level, and is now level 40!"); - mes l("##9Was that not sufficient, this someone acquired MAGIC and is now under @@'s group.", (rand(0,1) ? "Colin" : "Luca")); + mes l("##9Was that not sufficient, this someone acquired MAGIC and is now under @@'s group.", (rand2(0,1) ? "Colin" : "Luca")); next; mesc l("The Magic Council finished the reform on their guest hall."); mesc l("Soren, the architect responsible for it, is very happy with the new design."); @@ -396,7 +396,7 @@ function script Journalman { mesc l("The Monster King Army left the cities! What will happen next? Anxiety grows!"); break; case 2: - mesc l("The Monster King Army is attacking towns at random! Players already caused a loss of about @@ officers!", ($MK_TEMPVAR+rand(-1,1))/5); + mesc l("The Monster King Army is attacking towns at random! Players already caused a loss of about @@ officers!", ($MK_TEMPVAR+rand2(-1,1))/5); break; default: Exception(l("I do now know what this means: GS-@@-ICXN-@@", $GAME_STORYLINE, $@MK_TEMPVAR), RB_DEFAULT|RB_SPEECH); break; |