From 2599f237025389eaee3a9c68231ca2656d2512d3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 11 Mar 2019 23:36:22 -0300 Subject: Fix Ryan bug - I'm sorry Crazyfefe - The bug was squashed. --- npc/009-2/ryan.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc/009-2/ryan.txt') 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; -- cgit v1.2.3-70-g09d2