summaryrefslogtreecommitdiff
path: root/npc/009-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-11 23:36:22 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-11 23:36:22 -0300
commit2599f237025389eaee3a9c68231ca2656d2512d3 (patch)
treef7699f748a12638fb72e2c9573183e779e007a55 /npc/009-2
parent52a7570741631f6213dac83a036913dd21f03336 (diff)
downloadserverdata-2599f237025389eaee3a9c68231ca2656d2512d3.tar.gz
serverdata-2599f237025389eaee3a9c68231ca2656d2512d3.tar.bz2
serverdata-2599f237025389eaee3a9c68231ca2656d2512d3.tar.xz
serverdata-2599f237025389eaee3a9c68231ca2656d2512d3.zip
Fix Ryan bug - I'm sorry Crazyfefe - The bug was squashed.
Diffstat (limited to 'npc/009-2')
-rw-r--r--npc/009-2/ryan.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/009-2/ryan.txt b/npc/009-2/ryan.txt
index 50fb2efb2..e1061eda2 100644
--- a/npc/009-2/ryan.txt
+++ b/npc/009-2/ryan.txt
@@ -36,8 +36,9 @@
// Landmark rewards
// Chef hat last stage: 120 Delights - 605 in total
- .@q=getq(HalinarzoQuest_LifeDelight);
- if (.@q == 11) {
+ .@r=getq(HalinarzoQuest_LifeDelight);
+ .@q=getq2(HalinarzoQuest_LifeDelight);
+ if (.@r < 2 && .@q >= 11) {
setq1 HalinarzoQuest_LifeDelight, 2;
getitem ChefHat, 1;
getexp 13500, 10;
@@ -57,7 +58,7 @@
Zeny=Zeny+rand(.@a, .@a+.@q);
getexp rand(.@q,.@a), rand(1, .@q);
}
- if (.@q == 100) {
+ if (.@r < 3 && .@q == 100) {
setq1 HalinarzoQuest_LifeDelight, 3;
getitem PlatinumIngot, 1;
next;