summaryrefslogtreecommitdiff
path: root/npc/012-2/helena.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-22 01:57:36 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-22 01:57:36 -0300
commit0c8d17cf879230edaa933381334d0c9e85fb713a (patch)
tree22e1818648e5d41d49a3801aee3846fd96379c0d /npc/012-2/helena.txt
parentb7d62e6aa48b80103ac93ed5d8d54bfec3f0cfeb (diff)
downloadserverdata-0c8d17cf879230edaa933381334d0c9e85fb713a.tar.gz
serverdata-0c8d17cf879230edaa933381334d0c9e85fb713a.tar.bz2
serverdata-0c8d17cf879230edaa933381334d0c9e85fb713a.tar.xz
serverdata-0c8d17cf879230edaa933381334d0c9e85fb713a.zip
Helena Daily Quest (no effect yet)
Diffstat (limited to 'npc/012-2/helena.txt')
-rw-r--r--npc/012-2/helena.txt26
1 files changed, 24 insertions, 2 deletions
diff --git a/npc/012-2/helena.txt b/npc/012-2/helena.txt
index 64e9f05d9..7478a4b32 100644
--- a/npc/012-2/helena.txt
+++ b/npc/012-2/helena.txt
@@ -35,10 +35,32 @@
goto L_Daily;
L_Daily:
+ .@k=getq2(HurnscaldQuest_Bandits);
+ .@h=getq3(HurnscaldQuest_Bandits);
mesn;
- mesq l("Ah, @@, my friend! Are you here to help us with @@? Or perhaps you have more @@ to show that Hurnscald is getting safer?", strcharinfo(0), getitemlink(TreasureKey), getitemlink(BanditHood));
+ mesq l("Ah, @@, my friend! Are you here to help us with 5 @@? Or perhaps you have 5 more @@ to show that Hurnscald is getting safer?", strcharinfo(0), getitemlink(TreasureKey), getitemlink(BanditHood));
next;
- mes col("TODO, Daily Bandit Hood quest", 1);
+ select
+ rif(.@k < gettimetick(2) && countitem(TreasureKey) >= 5, l("I have 5 Treasure keys with me.")),
+ rif(.@h < gettimetick(2) && countitem(BanditHood) >= 5, l("I have 5 Bandit Hoods with me.")),
+ l("Nothing at the moment.");
+ mes "";
+ switch (@menu) {
+ case 1:
+ setq2 HurnscaldQuest_Bandits, gettimetick(2)+(60*60*24);
+ delitem TreasureKey, 5;
+ Zeny=Zeny+600; // 600/550 = 9.09% bonus
+ //Zeny=Zeny+800; // 800/550 = 45.45% bonus
+ getexp 100, 0;
+ $HELENA_ST=$HELENA_ST+1;
+ goto L_Daily;
+ case 2:
+ setq3 HurnscaldQuest_Bandits, gettimetick(2)+(60*60*24);
+ delitem BanditHood, 5;
+ Zeny=Zeny+250; // 250/155 = 61.29% bonus
+ getexp 300, 5;
+ goto L_Daily;
+ }
close;
L_TooWeak: