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/airports | |
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/airports')
-rw-r--r-- | npc/airports/airships.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt index 9a9941e25..2faab33af 100644 --- a/npc/airports/airships.txt +++ b/npc/airports/airships.txt @@ -1135,18 +1135,18 @@ airplane_01,32,61,4 script Nils#ein 1_M_03,1,1,{ mes .@line1_1$[.@wordtest]; mes .@line1_2$[.@wordtest]; mes .@line1_3$[.@wordtest]; - .@start_time = gettime(3)*60*60 + gettime(2)*60 + gettime(1); + .@start_time = gettime(HOUR)*60*60 + gettime(MINUTE)*60 + gettime(SECOND); next; input .@save1$; - .@end_time = gettime(3)*60*60 + gettime(2)*60 + gettime(1); + .@end_time = gettime(HOUR)*60*60 + gettime(MINUTE)*60 + gettime(SECOND); .@total_time = .@end_time - .@start_time; mes "[Nils]"; mes .@line2_1$[.@wordtest]; mes .@line2_2$[.@wordtest]; - .@start_time = gettime(3)*60*60 + gettime(2)*60 + gettime(1); + .@start_time = gettime(HOUR)*60*60 + gettime(MINUTE)*60 + gettime(SECOND); next; input .@save2$; - .@end_time = gettime(3)*60*60 + gettime(2)*60 + gettime(1); + .@end_time = gettime(HOUR)*60*60 + gettime(MINUTE)*60 + gettime(SECOND); .@total_time = .@total_time + (.@start_time - .@end_time); .@tasoo = (.@letters[.@wordtest] / .@total_time) * 6; if ((.@save1$ == .@word1$[.@wordtest]) && (.@save2$ == .@word2$[.@wordtest])) { |