diff options
author | Haru <haru@dotalux.com> | 2014-10-26 02:06:46 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:50 +0100 |
commit | bf4b0a281207e46a9b21a9c9f779aeafaa739b62 (patch) | |
tree | 0230ee95510255548ebb7f4080460b466c9e2ca6 /npc/cities/aldebaran.txt | |
parent | 6b20c5b6988c889df35b890d93c338f8b87fa430 (diff) | |
download | hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.gz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.bz2 hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.tar.xz hercules-bf4b0a281207e46a9b21a9c9f779aeafaa739b62.zip |
Replaced 'set' with direct assignment where applicable (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/cities/aldebaran.txt')
-rw-r--r-- | npc/cities/aldebaran.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt index f4b3662fc..494247912 100644 --- a/npc/cities/aldebaran.txt +++ b/npc/cities/aldebaran.txt @@ -779,7 +779,7 @@ aldeba_in,84,166,4 script Kafra Service#alde 4_F_KAFRA1,{ end; } else { - set .@kafrapassmoney,countitem(1084)*2000; + .@kafrapassmoney = countitem(1084)*2000; mes "[Kafra Pavianne]"; mes "Let's see..."; if (countitem(1084) == 1) { @@ -1194,7 +1194,7 @@ function script F_Lottery { mes "How many times do you want the Lottery Machine to spin? You can choose up to 5 times."; next; input @input; - if(@input < 1 || @input > 5) set @input, rand(1,5); //Lupus's fix + if(@input < 1 || @input > 5) @input = rand(1,5); //Lupus's fix callsub sF_Spin; mes "[Kafra]"; mes "Ok~ Let me check the results~ guess what it is?"; @@ -1267,8 +1267,8 @@ sF_Spin: mes "[Lottery Machine]"; mes "(rumble~rumble~rumble~)..."; next; - set @temp, rand(10); - set @input, @input -1; + @temp = rand(10); + --@input; if(@input <= 0) return; goto sF_Spin; } |