summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf1
-rw-r--r--npc/012-2/rakinorf.txt4
2 files changed, 3 insertions, 2 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 51b3fec64..4b85601f3 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -2690,6 +2690,7 @@ item_db: (
Delay: 30000
UseEffect: 64
Script: <"
+ // We would want warp to be delayed a bit but meh
if (@returnpotion_expiredate > gettimetick(2))
warp "Save", 0, 0;
else
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;