diff options
Diffstat (limited to 'npc/cities/aldebaran.txt')
-rw-r--r-- | npc/cities/aldebaran.txt | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt index 57d4205df..c6fe6f5ed 100644 --- a/npc/cities/aldebaran.txt +++ b/npc/cities/aldebaran.txt @@ -9,15 +9,15 @@ //= This file is part of Hercules. //= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= Copyright (C) 2012-2015 Hercules Dev Team -//= Copyright (C) rAthena Dev Team -//= Copyright (C) eAthena Dev Team -//= Copyright (C) DZeroX -//= Copyright (C) Evera -//= Copyright (C) Silent -//= Copyright (C) massdriller -//= Copyright (C) Lupus -//= Copyright (C) L0ne_W0lf +//= Copyright (C) 2012-2020 Hercules Dev Team +//= Copyright (C) rAthena Dev Team +//= Copyright (C) eAthena Dev Team +//= Copyright (C) DZeroX +//= Copyright (C) Evera +//= Copyright (C) Silent +//= Copyright (C) massdriller +//= Copyright (C) Lupus +//= Copyright (C) L0ne_W0lf //= //= Hercules is free software: you can redistribute it and/or modify //= it under the terms of the GNU General Public License as published by @@ -1200,8 +1200,9 @@ function script F_Lottery { mes "[Kafra]"; 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) @input = rand(1,5); //Lupus's fix + input(@input); + 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?"; @@ -1274,7 +1275,8 @@ sF_Spin: next; @temp = rand(10); --@input; - if(@input <= 0) return; + if (@input <= 0) + return; } } |