diff options
author | Emistry <Equinox1991@gmail.com> | 2015-10-27 18:31:29 +0800 |
---|---|---|
committer | Emistry <Equinox1991@gmail.com> | 2015-10-27 18:31:29 +0800 |
commit | 3bd77ffc0daca508352834add828766490075aee (patch) | |
tree | b6d2b9f8e02c2c993985908a9406ae9f72685f75 /npc/custom/etc/airplane.txt | |
parent | 415114467ab6bcac45e66031993e33f1a68a3255 (diff) | |
download | hercules-3bd77ffc0daca508352834add828766490075aee.tar.gz hercules-3bd77ffc0daca508352834add828766490075aee.tar.bz2 hercules-3bd77ffc0daca508352834add828766490075aee.tar.xz hercules-3bd77ffc0daca508352834add828766490075aee.zip |
Replaced parameter type with constant.
constant for gettime( <type> )
constant for Weekday and Month.
Diffstat (limited to 'npc/custom/etc/airplane.txt')
-rw-r--r-- | npc/custom/etc/airplane.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/etc/airplane.txt b/npc/custom/etc/airplane.txt index fc79584fe..de321ebfd 100644 --- a/npc/custom/etc/airplane.txt +++ b/npc/custom/etc/airplane.txt @@ -385,7 +385,7 @@ function script F_Itin { seta: set @tempo, @tempo + 1; - set @time, gettime(3); + set @time, gettime(HOUR); set @minutes, 5 * @tempo - 5; set @minutess, 5 * @tempo - 2; if(@minutes<10)set @minutes$, "0" + @minutes; @@ -406,7 +406,7 @@ seta: setb: if($@currenttime - 1==@tempo)goto setc; set @tempo, @tempo + 1; - set @time, gettime(3) + 1; + set @time, gettime(HOUR) + 1; set @minutes, 5 * @tempo - 5; set @minutess, 5 * @tempo - 2; if(@minutes<10)set @minutes$, "0" + @minutes; |