summaryrefslogtreecommitdiff
path: root/npc/re/merchants/alchemist.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/merchants/alchemist.txt')
-rw-r--r--npc/re/merchants/alchemist.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/re/merchants/alchemist.txt b/npc/re/merchants/alchemist.txt
index ed2c0c20a..0658126ff 100644
--- a/npc/re/merchants/alchemist.txt
+++ b/npc/re/merchants/alchemist.txt
@@ -55,16 +55,16 @@ alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{
mes "Okay then, here's the list of available craft books.";
next;
switch(select("[Apple Bomb Craft Book] 100,000 zeny:[Pineapple Bomb Craft Book] 100,000 zeny:[Coconut Bomb Craft Book] 100,000 zeny:[Melon Bomb Craft Book] 100,000 zeny:[Banana Bomb Craft Book] 100,000 zeny:[Plant Gene Cultivation Method] 100,000 zeny:[Superior Potion Craft Manual] 100,000 zeny:[Mix Cooking Book] 100,000 zeny:[Health Improvement Research Book] 100,000 zeny:[Vigor Drink Recipe] 100,000 zeny:Close")){
- case 1: set .@item,6279; break;
- case 2: set .@item,6280; break;
- case 3: set .@item,6281; break;
- case 4: set .@item,6282; break;
- case 5: set .@item,6283; break;
- case 6: set .@item,6284; break;
- case 7: set .@item,6285; break;
- case 8: set .@item,11022; break;
- case 9: set .@item,11023; break;
- case 10: set .@item,11024; break;
+ case 1: .@item = 6279; break;
+ case 2: .@item = 6280; break;
+ case 3: .@item = 6281; break;
+ case 4: .@item = 6282; break;
+ case 5: .@item = 6283; break;
+ case 6: .@item = 6284; break;
+ case 7: .@item = 6285; break;
+ case 8: .@item = 11022; break;
+ case 9: .@item = 11023; break;
+ case 10: .@item = 11024; break;
case 11:
mes "[Craft Book Merchant]";
mes "Thank you for your patronage.";
@@ -92,7 +92,7 @@ alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{
mes "Would you like to continue?";
next;
if (select("Yes:No") == 1) {
- set .@total, .@amount * 100000;
+ .@total = .@amount * 100000;
if (Zeny < .@total) {
mes "[Craft Book Merchant]";
mes "I'm sorry, but you don't have enough money.";