From ddd9e22bc907d98ec5966f568112b86f9b5ac10c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 18 Dec 2018 13:15:38 -0200 Subject: Update pet detective to meet daily. Update one of daily gifts. --- npc/017-1/pet_detective.txt | 8 ++++++++ npc/functions/daily.txt | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/npc/017-1/pet_detective.txt b/npc/017-1/pet_detective.txt index 2d1829ae5..5d65fc0b8 100644 --- a/npc/017-1/pet_detective.txt +++ b/npc/017-1/pet_detective.txt @@ -27,9 +27,12 @@ mesn l("Ace Ventura"); mesq l("Oh, but we are affiliated with Jesusalva, whom hates cheaters. So, meet your dismissal!"); percentheal -100, 0; + /* .@val=(Zeny/10)*2; Zeny=(Zeny/10)*8; // You pay 20% of your GP as tax-money. Hasan gladly takes the money. Jesusalva's happy. $HASAN_GP+=.@val; + */ + close; } Zeny=Zeny-150000; getexp 0, 500; @@ -48,6 +51,7 @@ L_Menu: select rif(GHMEMO[GHQ_GetQuestIDByMonsterID(Maggot)] >= 10000 && !countitem(MaggotCocoon), l("Cute Maggot")), rif(GHMEMO[GHQ_GetQuestIDByMonsterID(ForestMushroom)] >= 10000 && !countitem(ForestShroomEgg), l("Forest Mushroom")), + rif(#LOGIN_ALLTIME >= 12 && !countitem(PiouEgg), l("Piou")), l("Nothing at the moment."); mes ""; @@ -60,6 +64,10 @@ L_Menu: if (PDQ_InnerSwitch(ForestMushroom, MushroomSpores, 30)) .stock-=1; break; + case 3: + if (PDQ_InnerSwitch(Piou, PiouFeathers, 80)) + .stock-=1; + break; default: closedialog; goodbye; diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 52ad2e18b..ad89e0041 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -51,7 +51,7 @@ function script daily_login_bonus_handler { case WINTER: .@prize=SilverGift; break; case SPRING: - .@prize=Toothbrush; break; + .@prize=MercBoxC; break; case SUMMER: .@prize=RightEyePatch; break; } -- cgit v1.2.3-60-g2f50