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/quests/quests_ein.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/quests/quests_ein.txt')
-rw-r--r-- | npc/quests/quests_ein.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt index 706e6d1b7..c5a470507 100644 --- a/npc/quests/quests_ein.txt +++ b/npc/quests/quests_ein.txt @@ -5692,7 +5692,7 @@ OnTouch: mes "Failure to do so will result"; mes "in lockout. Please wait."; next; - .@startseconds = gettime(3)*60*60+gettime(2)*60+gettime(1); + .@startseconds = gettime(HOUR)*60*60+gettime(MINUTE)*60+gettime(SECOND); mes "[Security System]"; switch(rand(1,7)) { case 1: @@ -5761,7 +5761,7 @@ OnTouch: } next; input .@input2$; - .@endtime = gettime(3)*60*60+gettime(2)*60+gettime(1); + .@endtime = gettime(HOUR)*60*60+gettime(MINUTE)*60+gettime(SECOND); .@time = .@endtime-.@startseconds; mes "[Security System]"; if ((.@input1$ == .@word1$) && (.@input2$ == .@word2$)) { |