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/custom/etc/bank_kafra.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/custom/etc/bank_kafra.txt') diff --git a/npc/custom/etc/bank_kafra.txt b/npc/custom/etc/bank_kafra.txt index ea662499f..02a0b1846 100644 --- a/npc/custom/etc/bank_kafra.txt +++ b/npc/custom/etc/bank_kafra.txt @@ -22,7 +22,7 @@ mes"[Maniss]"; mes strcharinfo(0)+", welcome to the 2nd Bank of Prontera!"; - set @kb_int,(gettime(6)*31)+gettime(5); //today's number + set @kb_int,(gettime(MONTH)*31)+gettime(DAYOFMONTH); //today's number set @income,0; //calculate % if (#kafrabank<=0 || #kb_int>=@kb_int) goto L_NoIncomeToday; -- cgit v1.2.3-70-g09d2