diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/012-4/wyara.txt | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/npc/012-4/wyara.txt b/npc/012-4/wyara.txt index 6d884c7ff..ba8813bd6 100644 --- a/npc/012-4/wyara.txt +++ b/npc/012-4/wyara.txt @@ -106,11 +106,12 @@ L_Uncurse: L_ReturnPot: .@price=7000-(reputation("Hurns")*20); .@craft=2001-(reputation("Hurns")*20); + .@ammon=5+(reputation("Hurns")/30); mesn; mesq l("I understand. Rakinorf told me to stuff you with them if needed."); next; mesn; - mesq l("Be aware I can only bake batches of 5 potions."); + mesq l("Be aware I can only bake batches of @@ potions.", .@ammon); next; mesn; mesq l("So, it is @@ GP each one up-front. Or I can brew with your materials:", .@price); @@ -136,9 +137,9 @@ L_ReturnPot: input .@c, 0, (Zeny/.@price); .@payment=.@price*.@c; if (Zeny >= .@payment) { - inventoryplace ReturnPotion, .@c*5; + inventoryplace ReturnPotion, .@c*.@ammon; Zeny-=.@payment; - getitem ReturnPotion, .@c*5; + getitem ReturnPotion, .@c*.@ammon; mesn; mesq l("There you go!"); } else { @@ -148,22 +149,22 @@ L_ReturnPot: case 3: mesc l("How many?"); input .@c, 0, 100; - inventoryplace ReturnPotion, .@c*5; + inventoryplace ReturnPotion, .@c*.@ammon; if ( - countitem(MauveHerb) < 100*.@c || - countitem(MushroomSpores) < 20*.@c || - countitem(Potatoz) < 10*.@c || - countitem(Coral) < 10*.@c || + countitem(MauveHerb) < 80*.@c || + countitem(MushroomSpores) < 15*.@c || + countitem(Potatoz) < 7*.@c || + countitem(Coral) < 5*.@c || countitem(EverburnPowder) < 1*.@c || Zeny < .@craft*.@c ) Exception("You don't have that much material.", RB_ISFATAL|RB_SPEECH); - delitem MauveHerb, 100*.@c; - delitem MushroomSpores, 20*.@c; - delitem Potatoz, 10*.@c; - delitem Coral, 10*.@c; + delitem MauveHerb, 80*.@c; + delitem MushroomSpores, 15*.@c; + delitem Potatoz, 7*.@c; + delitem Coral, 5*.@c; delitem EverburnPowder, 1*.@c; Zeny-=.@craft*.@c; - getitem ReturnPotion, .@c*5; + getitem ReturnPotion, .@c*.@ammon; mesn; mesq l("There you go!"); break; |