summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-08 03:12:29 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-08 03:12:29 -0200
commit22f2df53450068cd3fbc4dc340aed59456b34273 (patch)
tree6b5903a4568ffc70a959cc9c6c3a5329fa9fc75a /npc
parent80c5d5d3bf9a6fe953742670fdc390245f34eec5 (diff)
downloadserverdata-22f2df53450068cd3fbc4dc340aed59456b34273.tar.gz
serverdata-22f2df53450068cd3fbc4dc340aed59456b34273.tar.bz2
serverdata-22f2df53450068cd3fbc4dc340aed59456b34273.tar.xz
serverdata-22f2df53450068cd3fbc4dc340aed59456b34273.zip
RNG
Diffstat (limited to 'npc')
-rw-r--r--npc/012-2/rakinorf.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/012-2/rakinorf.txt b/npc/012-2/rakinorf.txt
index 289d8cba3..23fac1ed3 100644
--- a/npc/012-2/rakinorf.txt
+++ b/npc/012-2/rakinorf.txt
@@ -277,7 +277,7 @@ L_MainStory:
if (countitem(ReturnPotion))
delitem ReturnPotion, countitem(ReturnPotion);
inventoryplace ReturnPotion, 5;
- getitem ReturnPotion, 5;
+ getitem ReturnPotion, rand(2,5);
@returnpotion_expiredate=gettimetick(2)+1200+rand(300,1200); // 20 minutes + 5~20 minutes == last 25~40 minutes
mesn;
mesq l("There... *hic* They will expire *hic* in just @@... Or on logout.", FuzzyTime(@returnpotion_expiredate));
@@ -301,7 +301,7 @@ L_Fail:
L_Complete:
inventoryplace ReturnPotion, 10;
setq General_Narrator, 6, 0;
- getitem ReturnPotion, 10;
+ getitem ReturnPotion, rand(5,10);
@returnpotion_expiredate=gettimetick(2)+1200+rand(600,1800); // 20 minutes + 10~30 minutes == last 30~60 minutes
getexp BaseLevel*750, JobLevel*50;// Reference Levels: (40, 15)
mesn;