summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-24 18:33:12 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-24 18:33:12 -0200
commit2eb075900be23b6f3fe2b3a138dead41e01bb0e0 (patch)
tree3e3b77a1f7383d3cd9c1fde539bde00331e20dbf /npc/commands
parentca7a22f4ae63d68011d2ae1b4c01e880b6de17e4 (diff)
downloadserverdata-2eb075900be23b6f3fe2b3a138dead41e01bb0e0.tar.gz
serverdata-2eb075900be23b6f3fe2b3a138dead41e01bb0e0.tar.bz2
serverdata-2eb075900be23b6f3fe2b3a138dead41e01bb0e0.tar.xz
serverdata-2eb075900be23b6f3fe2b3a138dead41e01bb0e0.zip
Rework how Christmas gifts are distributed. This only happens on december.
Players missed days 19~25 to drop them, so this year, this drop rate is doubled
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/event.txt19
1 files changed, 12 insertions, 7 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 154c2da91..942e8dd4f 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -48,13 +48,18 @@ function script sChristmas {
addmonsterdrop(WhiteSlime, ClosedChristmasBox, 3*.@m);
addmonsterdrop(GiantMaggot, ClosedChristmasBox, 2*.@m);
- // Should not last over two weeks
- addmonsterdrop(WaterFairy, XmasGift, 5*.@m);
- addmonsterdrop(AlphaMouboo, XmasGift, 4*.@m);
- addmonsterdrop(IcedFluffy, XmasGift, 3*.@m);
- addmonsterdrop(SantaSlime, XmasGift, 2*.@m);
- addmonsterdrop(Fluffy, XmasGift, 1*.@m);
- addmonsterdrop(AzulSlime, XmasGift, 1*.@m);
+ // This is not dropped outside December
+ if (gettime(GETTIME_MONTH) == DECEMBER) {
+ // Bugfix
+ if (gettime(GETTIME_YEAR) == 2018)
+ .@m+=10;
+ addmonsterdrop(WaterFairy, XmasGift, 6*.@m);
+ addmonsterdrop(AlphaMouboo, XmasGift, 5*.@m);
+ addmonsterdrop(IcedFluffy, XmasGift, 4*.@m);
+ addmonsterdrop(SantaSlime, XmasGift, 3*.@m);
+ addmonsterdrop(Fluffy, XmasGift, 2*.@m);
+ addmonsterdrop(AzulSlime, XmasGift, 2*.@m);
+ }
// Change maps for Christmas Season (Specially LoF maps)
addmapmask "003-1", MASK_CHRISTMAS;