Преглед изворни кода

* Updated Monk Skill QUest to the Official One.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10533 54d463be-8e91-2dee-dedb-b68131a5f0ec
samuray22 пре 18 година
родитељ
комит
ac335f6a5b
2 измењених фајлова са 537 додато и 52 уклоњено
  1. 2 0
      npc/Changelog.txt
  2. 535 52
      npc/quests/skills/monk_skills.txt

+ 2 - 0
npc/Changelog.txt

@@ -1,5 +1,7 @@
 Date		Added
 ======
+2007/05/13
+	* Updated Monk Skill QUest to the Official One. [Samuray22]
 2007/05/12
 	* Rev. 10526 Fixed the weight checking in Vandt, and added official dialog. [L0ne_W0lf]
 	- Added weight checks for all NPCs that give items. Semi-official dialog.

+ 535 - 52
npc/quests/skills/monk_skills.txt

@@ -1,13 +1,13 @@
 //===== eAthena Script ======================================= 
 //= Monk Skills Quests
 //===== By: ================================================== 
-//= Lupus, Reddozen
+//= Lupus, Reddozen, Samuray22
 //===== Current Version: ===================================== 
-//= 1.3a
+//= 1.4
 //===== Compatible With: ===================================== 
 //= eAthena Revision 3800+
 //===== Description: ========================================= 
-//= Temp quests for new skills for 2nd classes
+//= Oficial quests for new skills for 2nd classes
 //===== Additional Comments: ================================= 
 //= 1.0 for fully working skills only [Lupus]
 //= 1.1 Added more new skill quests for more classes [Lupus]
@@ -18,60 +18,543 @@
 //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
 //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
 //= 1.3b Splitted into different files [DracoRPG]
+//= 1.4 Updated to the official one. [Samuray22]
 //============================================================
 
-
 //============================================================
-// MONK - KI TRANSLATION + KI EXPLOSION
+// MONK - KI TRANSLATION
 //============================================================
-monk_test,316,69,3	script	Krate	823,{
-	mes "[Krate]";
-	if(BaseJob!=Job_Monk) goto L_nomonk;
-	if(getskilllv(1015) && getskilllv(1016)) goto L_alreadyhave;
-	if(monk_skill) goto L_verif;
-	if(Weight>0) goto L_heavymonk;
-	mes "I'll teach you all I know, but you must bring me:";
-	mes "40 Stems";
-	mes "3 Shoots";
-	set monk_skill, 1;
-	next;
-	goto L_verif;
-	
-L_verif:
-	mes "Let me check your items.";
-	next;
-	if(countitem(711)<3 || countitem(905)<40) goto L_noitems;//Items: Shoot, Stem,
-	delitem 711, 3;//Items: Shoot,
-	delitem 905, 40;//Items: Stem,
-	next;
-	mes "[Krate]";
-	mes "I see you have what you need,";
-	mes "so I'll teach you my talent.";
-	skill 1015,1,0;
-	skill 1016,1,0;
-	set monk_skill, 0;
-	close;
-	
-L_noitems:
-	mes "[Krate]";
-	mes "You don't have enough items.";
-	mes "Come back when you have all";
-	mes "the required items for me.";
-	close;
-	
-L_nomonk:
-	mes "It seems that your soul is disagree with your body.";
-	mes "Come back when your body and your soul will be like Yin and Yang.";
-	emotion e_gasp;
-	close;
-	
-L_alreadyhave:
-	mes "I've already taught you";
-	mes "everything I know...";
+prt_monk,270,198,5	script	Training Monk	753,{
+	if (Class == Job_Monk || Class == Job_Champion) {
+		if(MONK_SK == 7) {
+			mes "[Ikusa]";
+			mes "Things you must do,";
+			mes "things you are responsible of,";
+			mes "consider them carefully!";
+			mes "Fighting is not everything,";
+			mes "remember that.";
+			close;
+		} else if(MONK_SK == 6 && getskilllv(1015) == 0) {
+			mes "[Ikusa]";
+			mes "Hmm, seem to have trained";
+			mes "more than before. Feels much";
+			mes "more powerful. Impressive.";
+			next;
+			mes "[Ikusa]";
+			mes "Okay! I will teach";
+			mes "you the skill once more.";
+			next;
+			mes "[Ikusa]";
+			mes "Haaaaaaaaaa........";
+			mes "Hooooooooo...";
+			next;
+			mes "[Ikusa]";
+			mes "Ahh~tatatatata";
+			mes "tadadadadadat!!!!";
+			next;
+			mes "[Ikusa]";
+			mes "Hoorawr!!!!!";
+			next;
+			mes "[Ikusa]";
+			mes "phew...";
+			next;
+			mes "[Ikusa]";
+			mes "Done! Now your body";
+			mes "will automatically use it.";
+			mes "Since your body remembers it,";
+			mes "you can't teach it to";
+			mes "anyone... but it's important";
+			mes "that you yourself can, I guess.";
+			next;
+			mes "[Ikusa]";
+			mes "As a special bonus,";
+			mes "I threw in Ki Explosion.";
+			mes "So use it well, alright?";
+			next;
+			set MONK_SK, 7;
+			skill 1015,1,0;
+			skill 1016,1,0;
+			mes "[Ikusa]";
+			mes "If you're good, you're";
+			mes "free to go. I'll say it again, though";
+			mes "The skills??we learn are not meant";
+			mes "to harm. Remember that.";
+			close;
+		} else if(MONK_SK > 2) {
+			mes "[Ikusa]";
+			mes "Things you must do,";
+			mes "things you are responsible of,";
+			mes "consider them carefully!";
+			mes "Fighting is not everything,";
+			mes "remember that.";
+			next;
+			mes "[Ikusa]";
+			mes "Ah, keep it a secret that";
+			mes "I taught you Ki Translation";
+			mes "from other monks. If they find out,";
+			mes "it'll be troublesome here.";
+			mes "You hear me?";
+			close;
+		} else if(MONK_SK == 2) {
+			if(Weight == 0) {
+				mes "[Ikusa]";
+				mes "Throw your materialistic greed aside,";
+				mes "how many times do...huh?";
+				mes "Oh, I don't know about";
+				mes "your mind, but you seem to have";
+				mes "thrown your desire for things aside.";
+				mes "How long has it been since I seen such a person?!";
+				next;
+				mes "[Ikusa]";
+				mes "I like you. I think you";
+				mes "will be able to achieve";
+				mes "justice and peace in";
+				mes "this world.";
+				next;
+				mes "[Ikusa]";
+				mes "Well, I don't want to";
+				mes "show off or anything, but";
+				mes "I will pass my special";
+				mes "skill to you. It's not great,";
+				mes "but~ other monks here don't know it";
+				mes "so it's quite rare.";
+				next;
+				mes "[Ikusa]";
+				mes "Such an easy skill, but they can't use it..";
+				mes "It's because their minds are oppressed";
+				mes "with materialistic greed.";
+				mes "Eek, I spoke too long. Shall we";
+				mes "start our lesson?";
+				next;
+				mes "[Ikusa]";
+				mes "Meh, talking gets long";
+				mes "and it's not like you can use";
+				mes "this skill by talking, so";
+				mes "I'll just embed it into your body.";
+				next;
+				mes "[Ikusa]";
+				mes "Haaaaaaaa........";
+				mes "Hooooooo...";
+				next;
+				mes "[Ikusa]";
+				mes "Ah~~~tatatatata!!!";
+				mes "tadadadadat!!!";
+				next;
+				mes "[Ikusa]";
+				mes "Hoorawr!!!!!";
+				next;
+				mes "[Ikusa]";
+				mes "Phew...";
+				next;
+				mes "[Ikusa]";
+				mes "Done! Now your body";
+				mes "will automatically use it.";
+				mes "Since your body remembers it,";
+				mes "you can't teach it to";
+				mes "anyone... but it's important";
+				mes "that you yourself can, I guess.";
+				next;
+				mes "[Ikusa]";
+				mes "You can call it whatever,";
+				mes "but the monks here call the skill";
+				mes "you just learned ^FF0000Ki Translation^000000.";
+				mes "If you want to call it that too,";
+				mes "that is all good.";
+				next;
+				mes "[Ikusa]";
+				mes "^FF0000Casting time gets long";
+				mes "^FF0000and delay is long, too, so use wisely.";
+				mes "^FF0000It sacrifices yourself to your party";
+				mes "^FF0000as an active skill." ;
+				mes "^FF0000It uses up 40 SP per use.^000000" ;
+				next;
+				mes "[Ikusa]";
+				mes "You can get a feeling of the rest";
+				mes "by practicing the skill yourself.";
+				next;
+				mes "[Ikusa]";
+				mes "I will say it again,";
+				mes "but our body is not trained mainly for fighting.";
+				mes "Training is to clear our mind.";
+				mes "That is an important point";
+				mes "you must always remember and act upon.";
+				next;
+				mes "[Ikusa]";
+				mes "It seems I talked alot.";
+				mes "I have nothing to say,";
+				mes "and if you truly have given up";
+				mes "your greed, I trust you";
+				mes "will take responsibility with the skill.";
+				next;
+				set MONK_SK, 3;
+				skill 1015,1,0;
+				mes "[Ikusa]";
+				mes "Then, take care.";
+				next;
+				mes "[Ikusa]";
+				mes "Ah, by the way, keep this skill";
+				mes "a secret from monks around here.";
+				mes "Things can get quite troublesome";
+				mes "if they know...";
+				next;
+				mes "[Ikusa]";
+				mes "You won't tell, right?";
+				mes "Then you're good to go.";
+				mes "I'll say it again, but our";
+				mes "skills are not to be abused.";
+				mes "Remember that.";
+				close;
+			}
+				mes "[Ikusa]";
+				mes "You're filled with filthy greed.";
+				mes "What do you have a need for with";
+				mes "all those items when you travel?";
+				mes "Rid yourself of materialistic greed.";
+				close;
+		} else if(MONK_SK == 1) {
+			mes "[Ikusa]";
+			mes "Fighting is pointless.";
+			mes "The best thing for self-meditation is...";
+			next;
+			mes "[Ikusa]";
+			mes "Hmm? I've never seen you before.";
+			mes "Are you hear to listen to my";
+			mes "beliefs in strength?";
+			mes "and justice?";
+			next;
+			mes "[Ikusa]";
+			mes "Pathetic. Stupid monks";
+			mes "here. Our main purpose is not";
+			mes "fighting, and yet they all";
+			mes "concentrate their training";
+			mes "in fighting... how vulgar.";
+			next;
+			mes "[Ikusa]";
+			mes "They all say that I am";
+			mes "the wrong one, which gets";
+			mes "annoying. I have my own ways";
+			mes "and that is all I am";
+			mes "keeping to...";
+			next;
+			mes "[Ikusa]";
+			mes "They have so much useless";
+			mes "greed, that even if";
+			mes "they try their best to restore";
+			mes "justice, their own greed";
+			mes "will taint peace.";
+			next;
+			mes "[Ikusa]";
+			mes "If you want to do something,";
+			mes "throw your greed aside first.";
+			mes "That is true way of meditation";
+			mes "and restoring justice";
+			mes "in my opinion.";
+			next;
+			mes "[Ikusa]";
+			mes "Hmm...";
+			next;
+			set MONK_SK, 2;
+			mes "[Ikusa]";
+			mes "You're filled with greed.";
+			mes "Why do you need so many things";
+			mes "just to travel around?";
+			mes "Get rid of your greed.";
+			close;
+		}
+	}
+	mes "[Ikusa]";
+	mes "Fighting is useless and pathetic.";
+	mes "The best way to treat oneself is...";
 	close;
+}
+
+//============================================================
+// MONK - KI EXPLOSION
+//============================================================
 
-L_heavymonk:
-	mes "Come back when you've cleansed";
-	mes "yourself of your worldly possessions.";
+prt_monk,129,263,3	script	Monk	823,{
+	if (Class == Job_Monk || Class == Job_Champion) {
+		if(MONK_SK == 6) {
+			mes "[Monk]";
+			mes "Then farewell. SHould you";
+			mes "find a way to convince that idiot";
+			mes "while travelling, feel free to";
+			mes "return and tell me.";
+			close;
+		} else if(MONK_SK == 5) {
+			mes "[Monk]";
+			mes "Good. You look ready.";
+			mes "Then I will teach you";
+			mes "the skill for sure";
+			mes "not that I've anything else to do...";
+			next;
+			mes "[Monk]";
+			mes "Its name is 'Ki Explosion'. I said it";
+			mes "previously, so I'm sure you already";
+			mes "know about it. It concentrates ki to your hands";
+			mes "and explodes it into the monster while";
+			mes "creating a huge impact, causing the enemy";
+			mes "surrounding to fly as well.";
+			next;
+			mes "[Monk]";
+			mes "The monster hit and others around it";
+			mes "are forced back by import of this skill";
+			mes "and it can even stun them.";
+			mes "The damage is done only to the";
+			mes "targetted monster,";
+			mes "though.";
+			next;
+			mes "[Monk]";
+			mes "To use it, it consumes 20 SP and,";
+			mes "it drains 10 HP from you.";
+			mes "It's such a powerful skill,";
+			mes "that it causes some damage";
+			mes "to even the user.";
+			next;
+			mes "[Monk]";
+			mes "I kept saying monsters get";
+			mes "pushed, because when used";
+			mes "against humans, it can";
+			mes "damage them, but the impact";
+			mes "does not push them back.";
+			mes "Remember that.";
+			next;
+			mes "[Monk]";
+			mes "Well... I guess that's it.";
+			mes "THat's all there is to the lesson,";
+			mes "but if you cannot train your body";
+			mes "to use Ki Translation first,";
+			mes "the lesson is nothing but a ";
+			mes "waste of time.";
+			next;
+			mes "[Monk]";
+			mes "Well, I taught you everything";
+			mes "as I promised. Now, I have to think";
+			mes "about convincing the master of";
+			mes "Ki Translation. He's an idiot, really.";
+			mes "He refuses to teach.";
+			next;
+			mes "[Monk]";
+			mes "It feels as if I wasted my time..";
+			mes "Whatever, I taught you";
+			mes "the skill as I promised...";
+			mes "so I'm sure you're satisfied?";
+			next;
+			set MONK_SK, 6;
+			skill 1016,1,0;
+			mes "[Monk]";
+			mes "Then farewell. SHould you";
+			mes "find a way to convince that idiot";
+			mes "while travelling, feel free to";
+			mes "return and tell me.";
+			close;
+		} else if(MONK_SK == 4 && countitem("Stem") > 19 && countitem("Shoot") > 2) {
+			mes "[Monk]";
+			mes "...Stubborn fool.";
+			mes "Over 20 stems and 3 Shoots.";
+			mes "Goes to proove that you have";
+			mes "defeated mangoras well.";
+			mes "There is no need for more words";
+			mes "to prove that you have done well.";
+			next;
+			mes "[Monk]";
+			mes "But what's the use of that? Until";
+			mes "that idiot teaches you Ki Translation,";
+			mes "it would be useless even if I taught";
+			mes "you Ki Explosion right now.";
+			mes "Waste of time.";
+			next;
+			mes "[Monk]";
+			mes "Even if you know the logic well,";
+			mes "if your body cannot translate";
+			mes "its ki, the logic is not to be";
+			mes "used properly and the";
+			mes "knowledge goes to waste.";
+			next;
+			delitem "Stem",20;
+			delitem "Shoot", 3;
+			set MONK_SK, 5;
+			mes "[Monk]";
+			mes "Hmm... you still want to learn?";
+			mes "Stubborn fool, you are. Fine.";
+			mes "When you are ready,";
+			mes "talk to me. It won't be helpful,";
+			mes "but that was your choice.";
+			close;
+		} else if(MONK_SK == 4) {
+			mes "[Monk]";
+			mes "What? Test content?";
+			mes "I keep telling you,";
+			mes "it has no meaning.";
+			mes "I'll still tell you, though.";
+			next;
+			mes "[Monk]";
+			mes "There is a horrific plant";
+			mes "that attacks innocent travelers.";
+			mes "Your task is to defeat Mandragoras";
+			mes "basically. That's all there is";
+			mes "to the test.";
+			next;
+			mes "[Monk]";
+			mes "Ridding the path of annoying,";
+			mes "horrific plants can be seen";
+			mes "to prove that you are sacrificing";
+			mes "yourself to make other";
+			mes "travelers' path smooth and even.";
+			next;
+			mes "[Monk]";
+			mes "Well, I guess that's it!";
+			mes "In other words, I want you";
+			mes "to bring ^FF0000twenty 20 Stems^000000 and";
+			mes "^FF0000three 3 Shoots^000000 to me";
+			mes "and you're good.";
+			next;
+			mes "[Monk]";
+			mes "If you have enough strenght";
+			mes "to kill Mandoragoras, it means";
+			mes "you have heart and strenght";
+			mes "to defeat other monsters";
+			mes "that pester the innocent";
+			mes "travelers.";
+			next;
+			mes "[Monk]";
+			mes "Got it?";
+			close;
+		} else if(MONK_SK == 3) {
+			mes "[Monk]";
+			mes "What? You want me to";
+			mes "teach you Ki Explosion?";
+			next;
+			mes "[Monk]";
+			mes "Two problems.";
+			next;
+			mes "[Monk]";
+			mes "First, unless you know Ki Translation,";
+			mes "you cannot know Ki Explosion.";
+			mes "I've told y ou before, so I'm sure you know";
+			mes "about it?";
+			next;
+			mes "[Monk]";
+			mes "Two, unless you use your";
+			mes "strength for good, I cannot";
+			mes "pass down the powerful skill";
+			mes "to you. If the power were to";
+			mes "land on the evil side, what troubles";
+			mes "would arise?";
+			next;
+			mes "[Monk]";
+			mes "You can't really do anything about first...";
+			mes "and... two... There is a test";
+			mes "to prove yourself as worthy";
+			mes "and good of the skill.";
+			next;
+			mes "[Monk]";
+			mes "As you came, I'm sure many plants";
+			mes "attaked you. You're just";
+			mes "peacably passing along, but the";
+			mes "Mandragoras are very annoying.";
+			next;
+			mes "[Monk]";
+			mes "Ridding the path of annoying,";
+			mes "horrific plants can be seen";
+			mes "to prove that you are sacrificing";
+			mes "yourself to make other";
+			mes "travelers' path smooth and even.";
+			next;
+			mes "[Monk]";
+			mes "Well, I guess that's it!";
+			mes "In other words, I want you";
+			mes "to bring ^FF0000twenty 20 Stems^000000 and";
+			mes "^FF0000three 3 Shoots^000000 to me";
+			mes "and you're good.";
+			next;
+			mes "[Monk]";
+			mes "Well... I guess the test is";
+			mes "meaning less even if you passed.";
+			mes "Afterall, even if you do";
+			mes "pass the test, the skill is useless";
+			mes "without Ki Translation...";
+			next;
+			set MONK_SK, 4;
+			mes "[Monk]";
+			mes "So give up Ki Explosion now.";
+			mes "Hmm... how could I spread";
+			mes "Ki Translation to other monks...?";
+			close;
+		} else if(MONK_SK == 1) {
+			mes "[Monk]";
+			mes "Power without justice will kill you.";
+			mes "Justice without power is meaning less.";
+			mes "Power is not justice.";
+			mes "Justice is power!";
+			next;
+			mes "[Monk]";
+			mes "Go take that statement";
+			mes "and give it to the idiot";
+			mes "that apparently mastered";
+			mes "Ki Translation. He'll";
+			mes "teach you the skill. Otherwise,";
+			mes "you can learn it yourself.";
+			close;
+		} else if(MONK_SK == 0) {
+			mes "[Monk]";
+			mes "Power without justice will kill you.";
+			mes "Justice without power is meaning less.";
+			mes "Power is not justice.";
+			mes "Justice is power!";
+			next;
+			mes "[Monk]";
+			mes "If you're a monk, keep that in";
+			mes "mind at all times!";
+			mes "An idiotic hermit";
+			mes "that calls only for self-training";
+			mes "doesn't know that~";
+			next;
+			mes "[Monk]";
+			mes "I want to tell him to";
+			mes "live all by himself until he";
+			mes "dies, but I can't, because without his";
+			mes "^FF0000Ki Translation^000000 skill,";
+			mes "the skill we invented is";
+			mes "implausible.";
+			next;
+			mes "[Monk]";
+			mes "We monks concentrated in";
+			mes "creating ^FF0000Ki Explosion^000000 skill,";
+			mes "but without Ki Translation,";
+			mes "we cannot even attempt it...";
+			mes "but that bastard, that bastard!!";
+			next;
+			mes "[Monk]";
+			mes "We begged, we threatened, we";
+			mes "humbled, we did everything we could,";
+			mes "but he refuses to pass the skill";
+			mes "of Ki Translation to others.";
+			next;
+			mes "[Monk]";
+			mes "Other monks tried to master it";
+			mes "by themselves without him,";
+			mes "but it did not work...";
+			mes "It's pathetic, really.";
+			next;
+			mes "[Monk]";
+			mes "If you're amonk too,";
+			mes "either convince him or";
+			mes "train yourself. You have";
+			mes "those two choices.";
+			next;
+			set MONK_SK, 1;
+			mes "[Monk]";
+			mes "He's always muttering about";
+			mes "how fighting is useless and pathetic,";
+			mes "so you can recognize him easily.";
+			close;
+		}
+	}
+	mes "[Monk]";
+	mes "Power without justice will kill you.";
+	mes "Justice without power is meaning less.";
+	mes "Power is not justice.";
+	mes "Justice is power!";
 	close;
 }