summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 01:44:46 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 01:44:46 -0300
commitb6597220a1096ab68f3753e577a86dc8c383ea31 (patch)
tree63e6066f586dcba8be58f79adbb052c4193fb9f8 /npc/commands
parent658a9f291c99ce2389896efdaecc058fcfb916f7 (diff)
downloadserverdata-b6597220a1096ab68f3753e577a86dc8c383ea31.tar.gz
serverdata-b6597220a1096ab68f3753e577a86dc8c383ea31.tar.bz2
serverdata-b6597220a1096ab68f3753e577a86dc8c383ea31.tar.xz
serverdata-b6597220a1096ab68f3753e577a86dc8c383ea31.zip
Fix item deletion script
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/event.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 89c0d9f2d..907997b81 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -10,10 +10,8 @@
function script sClear {
// Delete all Easter Stuff
if ($EVENT$ != "Easter") {
+ DelItemFromEveryPlayer(SilverEasteregg);
DelItemFromEveryPlayer(GoldenEasteregg);
- DelItemFromEveryPlayer(GoldenEasteregg);
- DelItemFromEveryPlayer(ClosedChristmasBox);
- DelItemFromEveryPlayer(OpenedChristmasBox);
disablenpc "Lilica#final";
} else {
.@nb = query_sql("SELECT c.name, i.amount FROM `inventory` AS i, `char` AS c WHERE i.nameid=834 AND i.char_id=c.char_id ORDER BY i.amount DESC LIMIT 10", $@easter_name$, $@easter_value);
@@ -66,6 +64,8 @@ function script sClear {
DelAccRegFromEveryPlayer("#THANKS_STREAK");
// Not so simple but still needs cleanup.
+ DelItemFromEveryPlayer(ClosedChristmasBox);
+ DelItemFromEveryPlayer(OpenedChristmasBox);
DelItemFromEveryPlayer(Event1HSword);
DelItemFromEveryPlayer(Event2HSword);
DelItemFromEveryPlayer(EventBow);