summaryrefslogtreecommitdiff
path: root/npc/012-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-22 00:14:16 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-22 00:14:16 -0300
commitf53d4ab581f4eb61577985da181b679331e999e7 (patch)
tree234d2e9315e5be232d240dd22db5144977dcaa34 /npc/012-2
parentb0ae6f4ea46eb6d2c410c8dd134f57c605a7fa4e (diff)
downloadserverdata-f53d4ab581f4eb61577985da181b679331e999e7.tar.gz
serverdata-f53d4ab581f4eb61577985da181b679331e999e7.tar.bz2
serverdata-f53d4ab581f4eb61577985da181b679331e999e7.tar.xz
serverdata-f53d4ab581f4eb61577985da181b679331e999e7.zip
Corrections
Diffstat (limited to 'npc/012-2')
-rw-r--r--npc/012-2/helena.txt26
1 files changed, 23 insertions, 3 deletions
diff --git a/npc/012-2/helena.txt b/npc/012-2/helena.txt
index 223b858c8..58809c47c 100644
--- a/npc/012-2/helena.txt
+++ b/npc/012-2/helena.txt
@@ -7,11 +7,15 @@
012-2,47,40,0 script Helena NPC_FEMALE,{
.@q=getq(HurnscaldQuest_Bandits);
- // Stage 1: Level 40, collect Bandit Hood
+ // Stage 1: Level 30, collect Bandit Hood
+ if (BaseLevel < 30) goto L_TooWeak;
+ if (.@q == 1) goto L_Return;
+
+ // Stage 2: Level 40, collect
if (BaseLevel < 40) goto L_TooWeak;
if (.@q == 1) goto L_Return;
- // Stage 2: Level 45, defeat Bandit Lord
+ // Stage 3: Level 45, defeat Bandit Lord
if (BaseLevel < 45) goto L_Weak;
goto L_Start;
@@ -64,7 +68,23 @@ L_Start:
L_Return:
mesn;
- mesq l("Ah, @@! I'm busy now, can we talk again later?", strcharinfo(0));
+ mesq lg("Adventurer, did you brought me what I asked? I see you have @@/10 @@.", countitem(BanditHood), getitemlink(BanditHood));
+ mes "";
+ select
+ rif(countitem(BanditHood) >= 10, l("Yes, take it.")),
+ rif(countitem(BanditHood) < 10, l("No, I'll be back with them.")),
+ l("Hm, can we talk again later?");
+ mes "";
+ if (@menu != 1)
+ close;
+ delitem BanditHood, 10;
+ Zeny=Zeny+2000;
+ setq HurnscaldQuest_Bandits, 2;
+ mesn;
+ mesq l("Hey hey... Good job! I was you would ruin their hoods before being able to take them.");
+ next;
+ mesn;
+ mesq l("Here is 2000 GP for your efforts. Thanks for making Hurnscald a better place to live.");
close;
OnInit: