summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-18 13:15:38 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-18 13:15:38 -0200
commitddd9e22bc907d98ec5966f568112b86f9b5ac10c (patch)
tree1d99ef0982f8dfd27c81f7102b7b5ad5102cab15 /npc
parentf179443a471b17c3eb375b8c32a2e5cee0ed4d76 (diff)
downloadserverdata-ddd9e22bc907d98ec5966f568112b86f9b5ac10c.tar.gz
serverdata-ddd9e22bc907d98ec5966f568112b86f9b5ac10c.tar.bz2
serverdata-ddd9e22bc907d98ec5966f568112b86f9b5ac10c.tar.xz
serverdata-ddd9e22bc907d98ec5966f568112b86f9b5ac10c.zip
Update pet detective to meet daily. Update one of daily gifts.
Diffstat (limited to 'npc')
-rw-r--r--npc/017-1/pet_detective.txt8
-rw-r--r--npc/functions/daily.txt2
2 files changed, 9 insertions, 1 deletions
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;
}