diff options
Diffstat (limited to 'npc/012-2')
-rw-r--r-- | npc/012-2/helena.txt | 26 |
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: |