From be2662202390c9070c311bfd0f4b1a93ccc3111c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 9 Mar 2021 18:46:48 -0300 Subject: Fix typos, remove broken code, improve logic. Delete old variables. --- npc/003-3/malindou.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'npc/003-3') diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index ad54b65cd..6e7ed170c 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -604,6 +604,15 @@ OnInit: debugmes "* Iced Water re-id"; debugmes ""; } + // Current UPDATE value: Ter Mar 9 18:45:00 BRT 2021 + // Easter Upgrade + if ($UPDATE < 1615326300) { + $UPDATE=1615326300; + DelChrRegFromEveryPlayer("EASTER_EVENT"); + debugmes ""; + debugmes "* Easter changes"; + debugmes ""; + } // This mensures Contributors Credits, and changes only during updates. @@ -659,7 +668,7 @@ OnClock0500: if (gettime(GETTIME_DAYOFMONTH) >= 7) query_sql("DELETE FROM `chatlog` WHERE `time` < '"+sqldate(-7)+"'"); end; - + d // This is for HUB OnSkillInvoke: if (!playerattached()) -- cgit v1.2.3-70-g09d2