summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;