From 4a0892a6619b9774bbe98de5b48c0b6382836cb6 Mon Sep 17 00:00:00 2001 From: Playtester Date: Sun, 30 Apr 2006 19:13:40 +0000 Subject: Added first version Gywall's Pickpocket Quest to npc/quests/quests_lighthalzen.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6408 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/quests_lighthalzen.txt | 120 +++++++++++++++++++++++++++++++++++++- 1 file changed, 119 insertions(+), 1 deletion(-) (limited to 'npc/quests') diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt index 77870ef88..6eaa02a7a 100644 --- a/npc/quests/quests_lighthalzen.txt +++ b/npc/quests/quests_lighthalzen.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Persian, Vicious_Pucca, Completed by aoa00 //===== Current Version: ===================================== -//= 1.5a +//= 1.6 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -27,6 +27,7 @@ //= a part of quest...) //= 1.5 Fixed Mobster's OnDead event(it has to start with "On"!) [Playtester] //= 1.5a Fixed "free stick" bug, thx 2 Neouni [Lupus] +//= 1.6 Added Gywall's Pickpocket Quest //============================================================ //= aoa's comment //= In future, Need for new monsters. No-Drop, No-Exp, Weak "Mobster","VENOMOUS","NOXIOUS" @@ -1212,3 +1213,120 @@ L4_1: warp "lhz_cube.gat",177,13; end; } + +// Lighthalzen Pickpocket Mini-Quest +// By Lord Gywall +// Version 1.0 +// Tested on: eAthena SVN Stable (Unknown version) +// Version History: +// 1.0 - Completed and working +lighthalzen.gat,240,216,4 script Man#Pickpocket1 870,2,2,{ +end; +OnTouch: +callfunc "F_LHZPick",33,1; +close; +} +lighthalzen.gat,220,169,4 script Man#Pickpocket2 870,2,2,{ +end; +OnTouch: +callfunc "F_LHZPick",33,2; +close; +} +lighthalzen.gat,164,127,4 script Man#Pickpocket3 870,2,2,{ +end; +OnTouch: +callfunc "F_LHZPick",20,3; +if(@caught!=1) close; +mes "[Strange Man]"; +mes "Ayee! I'm trapped."; +mes "If you will forgive me,"; +mes "I can give you something good."; +mes "["+strcharinfo(0)+"]"; +mes "You're forgiven, now what is this"; +mes "good thing you mentioned?"; +next; +mes "[Strange Man]"; +mes "The lower part of your body,"; +mes "will produce a strong power"; +mes "once you've taken the secret potion."; +mes "It's very useful"; +mes "when you want to run quickly"; +next; +mes "[Strange Man]"; +mes "I will sell you them for a bargin"; +mes "price of 15,000 zeny to a maximum"; +mes "of three potions."; +mes "How many do you want?"; +next; +input @number; +if(@number>3) set @number,3; +set @cost,15000*@number; +if(Zeny<@cost) goto L_Zeny; +//please check that you add the script to it. +set Zeny,zeny-@cost; +getitem 12016,@number; //Speed Potion +mes "[Strange Man]"; +mes "Thanks for your money."; +if(rand(1,2)==1) goto L_Reset; +disablenpc "Man#Pickpocket3"; +enablenpc "Man#Pickpocket2"; +close; +L_Reset: +disablenpc "Man#Pickpocket3"; +enablenpc "Man#Pickpocket1"; +close; +L_Zeny: +mes "[Strange Man]"; +mes "Too bad."; +mes "No zeny makes you a poor man."; +close; +OnInit: +disablenpc "Man#Pickpocket2"; +disablenpc "Man#Pickpocket3"; +} + +function script F_LHZPick { +if(Zeny<100) set Zeny,0; +if(Zeny>=100) set Zeny,zeny-100; +mes "Pickpocket"; +next; +if(rand(0,100)