From 86389b43c807e0f21af88867ed7ad9e668e41ed3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Feb 2019 19:56:12 -0200 Subject: Valentine Day not working yet --- npc/commands/event.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/event.txt b/npc/commands/event.txt index 4045de7cc..bf678a5a0 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -79,7 +79,8 @@ function script GlobalEventMenu { DelAccRegFromEveryPlayer("#VALENTINE_RECEIVED"); DelAccRegFromEveryPlayer("#VALENTINE_OPENED"); DelAccRegFromEveryPlayer("#VALENTINE_SENT"); - DelAccRegFromEveryPlayer("#VALENTINE_LOVELETTERS"); + htdelete $@VALENTINE_LOVELETTER; + $@VALENTINE_LOVELETTER=0; } // We must remove any event drop @@ -122,7 +123,7 @@ function script GlobalEventMenu { case 1: sClear(); set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND; break; case 2: - set $EVENT$, "Valentine"; logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; + set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; break; case 3: sEaster(); break; case 4: -- cgit v1.2.3-70-g09d2