summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-07 17:51:07 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-07 17:51:07 +0000
commit038af06c7975afc586634de38bac832a3035a243 (patch)
tree6d8ad77f9cdbecfa0c4441f776096eb91db2149c /npc/custom
parent2676601108e4a17bd3cc9bd7fb8d6d65008e8a8f (diff)
downloadhercules-038af06c7975afc586634de38bac832a3035a243.tar.gz
hercules-038af06c7975afc586634de38bac832a3035a243.tar.bz2
hercules-038af06c7975afc586634de38bac832a3035a243.tar.xz
hercules-038af06c7975afc586634de38bac832a3035a243.zip
added a lvl99 quest.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5213 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/lvl99_quest.txt67
1 files changed, 67 insertions, 0 deletions
diff --git a/npc/custom/lvl99_quest.txt b/npc/custom/lvl99_quest.txt
new file mode 100644
index 000000000..aebb44d3d
--- /dev/null
+++ b/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;
+} \ No newline at end of file