diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-18 21:29:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-18 21:29:22 -0300 |
commit | 012f3a359a5c20863e8aff86f5d710f7161e3c22 (patch) | |
tree | cab788afe92deb70aa5bb0260142439618595219 | |
parent | a8fdb945d5d6764e058152dfd79bb5106bec3d04 (diff) | |
download | serverdata-012f3a359a5c20863e8aff86f5d710f7161e3c22.tar.gz serverdata-012f3a359a5c20863e8aff86f5d710f7161e3c22.tar.bz2 serverdata-012f3a359a5c20863e8aff86f5d710f7161e3c22.tar.xz serverdata-012f3a359a5c20863e8aff86f5d710f7161e3c22.zip |
Ryan: Update codebase (P multiplier and rand2)
-rw-r--r-- | npc/009-2/ryan.txt | 12 |
1 files changed, 6 insertions, 6 deletions
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) { |