summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-08 19:56:12 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-08 19:56:12 -0200
commit86389b43c807e0f21af88867ed7ad9e668e41ed3 (patch)
tree8b68a0d5b1838fa23b036b2844080ca11561d783 /npc/commands/event.txt
parent567acc600a13dfcb24ee6ffa18a60335721b6426 (diff)
downloadserverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.gz
serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.bz2
serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.xz
serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.zip
Valentine Day not working yet
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt5
1 files changed, 3 insertions, 2 deletions
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: