From 012f3a359a5c20863e8aff86f5d710f7161e3c22 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Wed, 18 Sep 2019 21:29:22 -0300
Subject: Ryan: Update codebase (P multiplier and rand2)

---
 npc/009-2/ryan.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'npc')

diff --git a/npc/009-2/ryan.txt b/npc/009-2/ryan.txt
index 2a06180aa..bd8a65667 100644
--- a/npc/009-2/ryan.txt
+++ b/npc/009-2/ryan.txt
@@ -55,8 +55,8 @@
         mesq l("Ah, you really deserve this @@. Good job!", getitemlink(ChefHat));
     }
     if (.@q >= 21) {
-        Zeny+=rand(1,.@a);
-        getexp rand(1,.@q)*.@l, rand(1, .@q);
+        Zeny+=rand2(1,.@a)*.p;
+        getexp rand2(1,.@q)*.@l, rand2(1, .@q);
     }
 
     // Elixir Of Life last stage: ~1000 Delights - 26,825 in total
@@ -70,12 +70,12 @@
     }
 
     if (.@q >= 51) {
-        Zeny+=rand(.@q,.@a);
-        getexp rand(1,.@a)*.@l, rand(1, .@q);
+        Zeny+=rand2(.@q,.@a)*.p;
+        getexp rand2(1,.@a)*.@l, rand2(1, .@q);
     }
     if (.@q >= 91) {
-        Zeny+=rand(.@a, .@a+.@q);
-        getexp rand(.@q,.@a)*.@l, rand(1, .@q);
+        Zeny+=rand2(.@a, .@a+.@q)*.p;
+        getexp rand2(.@q,.@a)*.@l, rand2(1, .@q);
     }
     // Platinum + Iridium last stage: ~2000 Delights - 103,525 in total
     if (.@r < 4 && .@q == 100) {
-- 
cgit v1.2.3-70-g09d2