summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-29 01:40:53 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-29 01:40:53 -0300
commit780e05f760819e2401e2830a7af7dbbfb3d0ec0c (patch)
treef9ac0e0c9a8ac4b64288d32bc55caa694e6f5113
parent738f5d38d98c281f5382361a4f7d6017dc635bfb (diff)
downloadserverdata-780e05f760819e2401e2830a7af7dbbfb3d0ec0c.tar.gz
serverdata-780e05f760819e2401e2830a7af7dbbfb3d0ec0c.tar.bz2
serverdata-780e05f760819e2401e2830a7af7dbbfb3d0ec0c.tar.xz
serverdata-780e05f760819e2401e2830a7af7dbbfb3d0ec0c.zip
Destroy event weapons as soon as the event is over.
Cards aren't destroyed, but they are useless without the event weapons.
-rw-r--r--npc/commands/event.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index d1ad73d59..b71833f43 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -65,6 +65,12 @@ function script sClear {
DelAccRegFromEveryPlayer("#THANKS_DAY");
DelAccRegFromEveryPlayer("#THANKS_STREAK");
+ // Not so simple but still needs cleanup.
+ DelItemFromEveryPlayer(Event1HSword);
+ DelItemFromEveryPlayer(Event2HSword);
+ DelItemFromEveryPlayer(EventBow);
+ DelItemFromEveryPlayer(EventWand);
+
// We must remove any event drop
charcommand("@reloadmobdb");
SeasonReload(1);