From db81386e53fad039f4ade4c7cae0515d1f7f2589 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Dec 2018 01:48:50 -0200 Subject: Restrict (future) CoD event to Level 50 --- npc/018-2-1/dustman.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'npc') diff --git a/npc/018-2-1/dustman.txt b/npc/018-2-1/dustman.txt index 6c6a587b3..799785b36 100644 --- a/npc/018-2-1/dustman.txt +++ b/npc/018-2-1/dustman.txt @@ -36,7 +36,7 @@ L_COD: mes ""; - if (.@cod < 1) { + if (BaseLevel >= 50 && .@cod < 1) { mesn; mesq l("Hey, do you know the ##BCall Of Dusty##b event?"); next; @@ -51,11 +51,16 @@ L_COD: mesn; mesq l("Just @@ ago, thiefs stole Pihro & Pyndragon weapons.", FuzzyTime(1542570030)); next; - if (.@cod < 2) { + if (BaseLevel >= 50 && .@cod < 2) { mesn; mesq l("Pyndragon said he'll do a @@ to however reduces them to dust. Interested?", getitemlink(Dustynator)); // BottledDust, Dustynator mesc l("Note: Dustynator is a high level weapon. You might not have enough level to use it yet."); next; + } else if (BaseLevel < 50) { + mesn; + mesq l("It was a real problem, threating them to go out of business. I think they are trying to recover the lost weapons."); + mesc l("Attain level 50 to try this quest."); + close; } else { mesn; mesq l("Well, you already got the Dustynator, but you might want to collect more @@. They keep coming back, after all.", getitemlink(BottledDust)); @@ -66,6 +71,7 @@ L_COD: mes ""; mesn; mesq l("Too bad, because that wasn't implemented yet!"); + mesc l("Report this to Jesusalva and he may finish this quest."), 1; } close; -- cgit v1.2.3-60-g2f50