diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-29 01:40:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-29 01:40:53 -0300 |
commit | 780e05f760819e2401e2830a7af7dbbfb3d0ec0c (patch) | |
tree | f9ac0e0c9a8ac4b64288d32bc55caa694e6f5113 | |
parent | 738f5d38d98c281f5382361a4f7d6017dc635bfb (diff) | |
download | serverdata-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.txt | 6 |
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); |