summaryrefslogtreecommitdiff
path: root/npc/001-4/lilica.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-4/lilica.txt')
-rw-r--r--npc/001-4/lilica.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/npc/001-4/lilica.txt b/npc/001-4/lilica.txt
index ab0754127..5d7f152e5 100644
--- a/npc/001-4/lilica.txt
+++ b/npc/001-4/lilica.txt
@@ -62,12 +62,9 @@ L_QuestDone:
inventoryplace .@Hat, 1;
delitem GoldenEasteregg, 40;
delitem SilverEasteregg, 10;
- //if (rand(0, 10000) < 1000) goto L_Unlucky;
- setq SQuest_Easter, gettime(7), max(500, getq2(SQuest_Easter)+100);
+ if (rand2(10000) < 100) goto L_Unlucky;
+ setq SQuest_Easter, gettime(7), min(500, getq2(SQuest_Easter)+100);
npctalk3 l("Strange Coins stock on shops was restored!");
- //EASTER_EVENT=gettime(7);
- // The code below not allow hat to leave user account. A bad idea here so I left commented.
- //getitembound(.@Hat, 1, 1);
getnameditem(.@Hat, strcharinfo(0));
mesn;
mesq l("Here you go! Happy easter! Bhop bhop!");
@@ -80,7 +77,6 @@ L_Unlucky:
mes l("But in accordance to an old %s, you were unlucky.", b(l("Community Decision")));
mes l("This means ##BAll items were lost##b, and you need to collect EVERYTHING, again, to get the hat.");
mes l("But, hm hm hm! I have a %s for you! It won't have what you wanted, but maybe you're lucky, after all?", getitemlink(GoldenGift));
- //mes l("But hey, it is Easter and the poll is still open, so here are 15 @@ as a consolation prize.", getitemlink(StrangeCoin));
mes l("Better luck next time!\"");
close;