summaryrefslogtreecommitdiff
path: root/npc/012-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-27 19:52:25 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-27 19:52:25 -0300
commit8417669d7b1c767f913b45122441e35f97e759b1 (patch)
tree0f263f81cbe826aa797fbe81cbb51591ee74fa0b /npc/012-1
parent1dc0305da972d568f5a893d81105d5e6d8134f70 (diff)
downloadserverdata-8417669d7b1c767f913b45122441e35f97e759b1.tar.gz
serverdata-8417669d7b1c767f913b45122441e35f97e759b1.tar.bz2
serverdata-8417669d7b1c767f913b45122441e35f97e759b1.tar.xz
serverdata-8417669d7b1c767f913b45122441e35f97e759b1.zip
Authorize Shoppa Kep to randomly sell Spearmint Tea (Hurnscald) (rare)
Diffstat (limited to 'npc/012-1')
-rw-r--r--npc/012-1/shoppakep.txt12
1 files changed, 3 insertions, 9 deletions
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!