Selaa lähdekoodia

added a lvl99 quest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5213 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 19 vuotta sitten
vanhempi
commit
2c2e32ef1a
3 muutettua tiedostoa jossa 70 lisäystä ja 3 poistoa
  1. 1 0
      npc/Changelog.txt
  2. 67 0
      npc/custom/lvl99_quest.txt
  3. 2 3
      npc/scripts_custom.conf

+ 1 - 0
npc/Changelog.txt

@@ -29,6 +29,7 @@ Date		Added
 ======
 
 02/07
+	* Added a custom quest for Jewel Case for 99 Base Level Players of 2nd Class [Lupus]
 	* Fixed the spawns that where using the no exp/drop version of Male Thief Bug (Thanks to irmin) [Poki#3]
 
 02/05

+ 67 - 0
npc/custom/lvl99_quest.txt

@@ -0,0 +1,67 @@
+//===== eAthena Script =======================================
+//= Quest for 99 Base Level Players
+//===== By: ==================================================
+//= Lupus
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= Any eAthena Version
+//===== Description: =========================================
+//= It makes players stay longer at 99th level and get a
+//= Jewel Case as a reward
+//===== Additional Comments: =================================
+//= 
+//============================================================
+
+
+lighthalzen.gat,108,229,2	script	La Fenn	766,{
+	mes "[La Fenn]";
+	if(BaseLevel<99) {
+		if(Q_99LVL) {
+			mes "You... You got younger!!! But you are defenitely YOU!";
+			mes "I couldn't think you were able to meet my condition...";
+			emotion e_hmm;
+			next;
+			mes "[La Fenn]";
+			mes "Here is your prize. It's yours for good.";
+			set Q_99LVL,0;
+			getitem 12106,1; //Jewel Case
+			emotion e_grat;
+		} else {
+			mes callfunc("F_Hi");
+			mes "...";
+			emotion e_yawn;
+			next;
+			mes "[La Fenn]";
+			mes "I've got a riddle for a strong man of 2nd Class and 99 Base Level.";
+			mes "*Yawn* If you meet some, please tell them about my riddle.";
+		}
+		close;
+	}
+	if(BaseLevel==99 && Upper==0) {
+		if(Q_99LVL) {
+			mes "Now go forth and get younger!";
+			mes "If you solve my riddle, then I'll give you a magical Jewel Case with a rare accessory.";
+		} else {
+			mes callfunc("F_Hi")+" The Hero!";
+			if(BaseExp<1000000) {
+				mes "Now you're strong.";
+				mes "But... not quite strong for my riddle.";
+				if(rand(2)) {
+					mes "Kill "+((1000000-BaseExp)/3765+1)+" more Seals and return.";
+				} else {
+					mes "Kill "+((1000000-BaseExp)/81+1)+" more Poporings and come back.";
+				}
+			} else {
+				mes "Now you're REALLY strong.";
+				mes "And if you get younger than now I'll give you my treasure.";
+				set Q_99LVL,1;
+				emotion e_no1;
+			}
+		}
+		close;
+	}
+	emotion e_hmm;
+	mes "...";
+	close;
+}

+ 2 - 3
npc/scripts_custom.conf

@@ -121,6 +121,5 @@ npc: npc/custom/adoption.txt
 //npc: npc/custom/quests/kahohorn.txt
 // -- ?? Event
 //npc: npc/custom/tougijou.txt
-
-//Nice Custom thanatos Tower Statues Quest
-//npc: npc/custom/quests/tha_statues.txt
+// -- A quest for Jewel Case for 99 Level Players of any 2nd Class
+//npc: npc/custom/quests/lvl99_quest.txt