From 8417669d7b1c767f913b45122441e35f97e759b1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 27 Jan 2021 19:52:25 -0300 Subject: Authorize Shoppa Kep to randomly sell Spearmint Tea (Hurnscald) (rare) --- npc/012-1/shoppakep.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'npc/012-1') diff --git a/npc/012-1/shoppakep.txt b/npc/012-1/shoppakep.txt index 3f3e47e2c..85105d507 100644 --- a/npc/012-1/shoppakep.txt +++ b/npc/012-1/shoppakep.txt @@ -14,13 +14,7 @@ close; function ShoppaKepItem { - .@i=rand2(0,100); - if (.@i > 75) - return Aquada; - else if (.@i < 35) - return Manana; - else - return HalfEggshell; + return any(Aquada, Manana, HalfEggshell, SpearmintTea); } OnInit: @@ -46,7 +40,7 @@ OnInit: sellitem Chagashroom, -1, 3; sellitem PiouFeathers, -1, .ThisRebootAmou; - sellitem .CurrentItem, -1, rand2(1,4); + sellitem .CurrentItem, -1, rand2(2,6); end; @@ -69,7 +63,7 @@ OnClock0546: stopselling(.CurrentItem); .CurrentItem=ShoppaKepItem(); - sellitem .CurrentItem, -1, rand2(1,4); + sellitem .CurrentItem, -1, rand2(2,6); end; // Pay your taxes! -- cgit v1.2.3-60-g2f50