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/events/idul_fitri.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/events/idul_fitri.txt')
-rw-r--r-- | npc/events/idul_fitri.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/idul_fitri.txt b/npc/events/idul_fitri.txt index 97d018f0a..cca86d1fc 100644 --- a/npc/events/idul_fitri.txt +++ b/npc/events/idul_fitri.txt @@ -12,7 +12,7 @@ prontera,146,92,3 script Cellerb 1_M_MERCHANT,{ mes "[Staff Idul Fitri]"; - if((gettime(6)==10 && (gettime(5)==24 || gettime(5)==25))==0) { + if((gettime(MONTH)==OCTOBER && (gettime(DAYOFMONTH)==24 || gettime(DAYOFMONTH)==25))==0) { mes "Congratulation! Celebrate Feast Day Of Ramadan Idul Fitri 1427 H."; specialeffect EF_SANDMAN; close; |