From 3bd77ffc0daca508352834add828766490075aee Mon Sep 17 00:00:00 2001 From: Emistry Date: Tue, 27 Oct 2015 18:31:29 +0800 Subject: Replaced parameter type with constant. constant for gettime( ) constant for Weekday and Month. --- npc/events/idul_fitri.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/events') 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; -- cgit v1.2.3-60-g2f50