summaryrefslogtreecommitdiff
path: root/npc/020-6/agostine.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-04 13:46:27 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-04 13:46:27 -0300
commita14b036af57f9208c7c0f10b923e114dc545a5dc (patch)
tree9d3202f3fed491d722574d00c85bd1b3c8af07f5 /npc/020-6/agostine.txt
parent2f7cb59325300000f3a7c65502d836d030b3bc6d (diff)
downloadserverdata-a14b036af57f9208c7c0f10b923e114dc545a5dc.tar.gz
serverdata-a14b036af57f9208c7c0f10b923e114dc545a5dc.tar.bz2
serverdata-a14b036af57f9208c7c0f10b923e114dc545a5dc.tar.xz
serverdata-a14b036af57f9208c7c0f10b923e114dc545a5dc.zip
Fix Agostine
Diffstat (limited to 'npc/020-6/agostine.txt')
-rw-r--r--npc/020-6/agostine.txt28
1 files changed, 14 insertions, 14 deletions
diff --git a/npc/020-6/agostine.txt b/npc/020-6/agostine.txt
index 7e81c7305..e58d123d5 100644
--- a/npc/020-6/agostine.txt
+++ b/npc/020-6/agostine.txt
@@ -8,7 +8,7 @@
// Quest struct:
// Quest State, NÂș of furs, Randomness Limiter
-007-1,155,163,0 script Agostine NPC_EDOUARD,{
+020-6,30,26,0 script Agostine NPC_EDOUARD,{
mesn l("Agostine, the Legendary Tailor");
mesq l("Oui, welcome to this fine shop! My name is Agostine, the legendary tailor!");
next;
@@ -22,13 +22,13 @@
L_Main:
.@q=getq(NivalisQuest_Agostine);
- .@q2=getq(NivalisQuest_Agostine);
- .@q3=getq(NivalisQuest_Agostine);
+ .@q2=getq2(NivalisQuest_Agostine);
+ .@q3=getq3(NivalisQuest_Agostine);
mesn l("Agostine, the Legendary Tailor");
mesq l("So, what will it be?");
select
l("I'm fine, thanks!"),
- rif(.@q < 3, l("How much would be the budget for Fur Boots?"));
+ rif(.@q < 2, l("How much would be the budget for Fur Boots?"));
mes "";
switch (@menu) {
@@ -36,7 +36,7 @@ L_Main:
closeclientdialog; npctalkonce l("Arrevouir!"); close;
case 2:
// Once in a while you need to drink him
- if (.@q % 3 == 0)
+ if (.@q % 2 == 0)
goto L_Beer;
goto L_FurBoots;
}
@@ -61,7 +61,7 @@ L_Beer:
mes "";
if (@menu == 1) {
delitem RedPlushWine, 1;
- setq NivalisQuest_Agostine, .@q+1;
+ setq1 NivalisQuest_Agostine, .@q+1;
mesn l("Agostine, the Legendary Tailor");
mesq l("Aaaaaahhh... Oui, that's a good wine! So, what will it be?");
goto L_Main;
@@ -107,9 +107,9 @@ L_FurBoots:
// Fur minigame
L_DeliverFur:
- .@q2=getq(NivalisQuest_Agostine);
- .@q3=getq(NivalisQuest_Agostine);
- mesc l("You already delivered @@ high-quality patches of white fur.");
+ .@q2=getq2(NivalisQuest_Agostine);
+ .@q3=getq3(NivalisQuest_Agostine);
+ mesc l("You already delivered @@ high-quality patches of white fur.", .@q2);
select
rif(countitem(WhiteFur), l("Is this high-quality fur?")),
@@ -123,7 +123,7 @@ L_DeliverFur:
.@success=rand(6,26)-.@q3; // You will never need more than 20 fur nor less than <delivered_good> fur per patch
if (.@success <= 1) {
- mesc l("He looks pleased.");
+ mesc "%%H " + l("He looks pleased.");
getexp 100, 25;
setq2 NivalisQuest_Agostine, .@q2+1;
setq3 NivalisQuest_Agostine, .@q2;
@@ -144,8 +144,8 @@ L_DeliverFur:
// Agostine item crafting
L_Craft:
.@q=getq(NivalisQuest_Agostine);
- .@q2=getq(NivalisQuest_Agostine);
- .@q3=getq(NivalisQuest_Agostine);
+ .@q2=getq2(NivalisQuest_Agostine);
+ .@q3=getq3(NivalisQuest_Agostine);
if (.@q2 < @agostine_fur) {
mesn l("Agostine, the Legendary Tailor");
mesq l("You haven't provided me enough High-Quality White Fur! Go back to hunting!");
@@ -165,12 +165,12 @@ L_Craft:
goto L_Main;
}
- inventoryplace @agostine_item;
+ inventoryplace @agostine_item, 1;
delitem @agostine_base, 1;
setq2 NivalisQuest_Agostine, .@q2-@agostine_fur;
Zeny=Zeny-@agostine_fee;
getitem @agostine_item, 1;
- setq NivalisQuest_Agostine, .@q+1;
+ setq1 NivalisQuest_Agostine, .@q+1;
getexp @agostine_fee, @agostine_fur*125;
mesn l("Agostine, the Legendary Tailor");