This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
Hello there, have you come to learn how to enhance the abilities of your weapon?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-02.htm">"Yes, I wish to learn more."</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-02.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-02.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
I have a growing sense of dread of late. Something terrible is coming. Can you hear it? The trees in the forest, the birds in the sky and the fish in the ocean...They know of what I speak...<br>
|
||||
I fear for the survival of the whole Human race, but I don't know what threatens it! This dark foreboding will not give me any peace whatsoever. I hope I am wrong but I fear I am not...<br>
|
||||
I must do what I can to save my race! I will find like-minded individuals to join my preperations for the coming apocolypse. If only we knew when...<br>
|
||||
Will you join my cause? Are you willing to lend a hand in preparing to fight the imminent darkness?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-04.htm">"I will join your cause!"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
You must hurry and collect the souls of evil creatures in the soul crystal. You will find the evil ones in the <FONT COLOR=LEVEL>northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the higher reaches of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle etc...</FONT>Take the crystal filled with souls to any blacksmith and he will enhance a weapon for you.<br>
|
||||
It is imperative that you build as much strength as possible to prepare yourself for the coming apocolypse. After growing each of your individual strength, if you put together all of your strengths, I think you will have enough force to fight against the approaching apocolypse. Then, next time we meet, I hope to see you stronger...<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-04.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-04.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
Oh, marvelous! If we all develop our strengths and work together, we will triumph over the coming cataclysm. My colleagues and I have recently developed a method of enhancing weaponry that should prove quite useful to all of us.<br>
|
||||
This <FONT COLOR=LEVEL>weapons enhancement</FONT> boosts strength noticeably in combat.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-05.htm">Explanation of weapons enhancement</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-05.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-05.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
To enhance a weapon you will need some <FONT COLOR=LEVEL>magical souls. You must collect the souls of evil creatures and trap them in the soul crystal I will give you.</FONT> You will then take the crystal to a blacksmith and he will extract the magic from the crystal and apply it to a weapon for you.<br>
|
||||
All blacksmiths know how to do this, but, obviously, they don't work for free.<br>
|
||||
You can collect the souls of the evil ones in the <FONT COLOR=LEVEL>northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the upper floors of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle.</FONT> Enhanced weapons would greatly aid your mission.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-06.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-06.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
<FONT COLOR=LEVEL>After you have sapped the evil one's strength in battle, apply the crystal to his skin. His soul will be absorbed into the crystal. His mortal body is easily dispatched.</FONT> Each soul crystal can contain up to 10 souls. <FONT COLOR=LEVEL>A more precise explanation would be that it can contain up to 10 souls with regular usage. I will tell you the detailed story later when you bring back the soul crystal with 10 souls.</FONT><br>
|
||||
Actually, collecting souls for the purpose of bestowing a weapon with a special power is not as easy as it sounds.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-07.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-07.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
The collection of a soul doesn't always go as planned. Some evil souls will simply not be absorbed, and, if you happen to collect the wrong soul, the crystal will shatter...<br>
|
||||
Soul crystals develop refined tastes, and will reject weaker souls after a while. When this happens you must seek the souls of creatures of greater evil to satisfy your crystal.<br>
|
||||
Remember that you may not absorb a soul with more than one crystal because a resonance effect is created between the crystals that prevents proper absorbtion.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-08.htm">Receive a soul crystal.</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-08.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-08.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
Please choose one of the following three types of crystals:<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-11.htm">Blue Soul Crystal</a><br>
|
||||
Each crystal bestows a different power upon the weapon it enhances, and the powers may vary from weapon to weapon.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-09.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-09.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
Here is a red soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-10.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-10.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
Here is a green soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-11.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-11.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
Here is a blue soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
11
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-12.htm
vendored
Normal file
11
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-12.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
From the following areas, which area's evil creatures would you like to obtain more information about?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-13.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-13.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that the most evil creatures in northern Oren are the <FONT COLOR=LEVEL>Timak Orcs.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-14.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-14.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that the most evil creatures in the Forest of Mirrors are the <FONT COLOR=LEVEL>Forest of Mirror ghosts, mirrors and Harit Lizardmen.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-15.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-15.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that the most evil creatures in the Cave of Giants are the <FONT COLOR=LEVEL>Halingkas, Yintzus, Paliotes, Hamruts, and Kranrots.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-16.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-16.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that the most evil creatures in the Devastated Castle are the <FONT COLOR=LEVEL>Doom Servants, Doom Guards, Doom Archers, Doom Troopers, Doom Warriors, and Doom Knights.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-17.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-17.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that the most evil creatures in the Tower of Insolence are the <FONT COLOR=LEVEL>Erin Ediunce, members of the Platinum Tribe and their Angels.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-18.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-18.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that the most evil creatures in the Lair of Antharas are the <FONT COLOR=LEVEL>Malruk Knights, Malruk Berserkers, Malruk Lords, Limal Karinness, Kariks, Pytans, and Pytan Knights.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-19.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-19.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that <FONT COLOR=LEVEL>all of the evil creatures inhabiting Eva's Underwater Garden</FONT> are appropriate soul donors.<br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-20.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-20.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
It seems that <FONT COLOR=LEVEL>all of the evil creatures inhabiting Devil's Isle</FONT> are appropriate soul donors.<br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-21.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-21.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
How is your mission going? Oh, I see that you need a new crystal!<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30115-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
Hello there, have you come to learn how to enhance the abilities of your weapon?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-02.htm">"Yes, I wish to learn more."</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-02.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-02.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
I have a growing sense of dread of late. Something terrible is coming. Can you hear it? The trees in the forest, the birds in the sky and the fish in the ocean...They know of what I speak...<br>
|
||||
I fear for the survival of the whole Human race, but I don't know what threatens it! This dark foreboding will not give me any peace whatsoever. I hope I am wrong but I fear I am not...<br>
|
||||
I must do what I can to save my race! I will find like-minded individuals to join my preperations for the coming apocolypse. If only we knew when...<br>
|
||||
Will you join my cause? Are you willing to lend a hand in preparing to fight the imminent darkness?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-04.htm">"I will join your cause!"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
You must hurry and collect the souls of evil creatures in the soul crystal. You will find the evil ones in the <FONT COLOR=LEVEL>northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the higher reaches of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle etc...</FONT>Take the crystal filled with souls to any blacksmith and he will enhance a weapon for you.<br>
|
||||
It is imperative that you build as much strength as possible to prepare yourself for the coming apocolypse. After growing each of your individual strength, if you put together all of your strengths, I think you will have enough force to fight against the approaching apocolypse. Then, next time we meet, I hope to see you stronger...<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-04.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-04.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
Oh, marvelous! If we all develop our strengths and work together, we will triumph over the coming cataclysm. My colleagues and I have recently developed a method of enhancing weaponry that should prove quite useful to all of us.<br>
|
||||
This <FONT COLOR=LEVEL>weapons enhancement</FONT> boosts strength noticeably in combat.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-05.htm">Explanation of weapons enhancement</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-05.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-05.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
To enhance a weapon you will need some <FONT COLOR=LEVEL>magical souls. You must collect the souls of evil creatures and trap them in the soul crystal I will give you.</FONT> You will then take the crystal to a blacksmith and he will extract the magic from the crystal and apply it to a weapon for you.<br>
|
||||
All blacksmiths know how to do this, but, obviously, they don't work for free.<br>
|
||||
You can collect the souls of the evil ones in the <FONT COLOR=LEVEL>northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the upper floors of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle.</FONT> Enhanced weapons would greatly aid your mission.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-06.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-06.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
<FONT COLOR=LEVEL>After you have sapped the evil one's strength in battle, apply the crystal to his skin. His soul will be absorbed into the crystal. His mortal body is easily dispatched.</FONT> Each soul crystal can contain up to 10 souls. <FONT COLOR=LEVEL>A more precise explanation would be that it can contain up to 10 souls with regular usage. I will tell you the detailed story later when you bring back the soul crystal with 10 souls.</FONT><br>
|
||||
Actually, collecting souls for the purpose of bestowing a weapon with a special power is not as easy as it sounds.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-07.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-07.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
The collection of a soul doesn't always go as planned. Some evil souls will simply not be absorbed, and, if you happen to collect the wrong soul, the crystal will shatter...<br>
|
||||
Soul crystals develop refined tastes, and will reject weaker souls after a while. When this happens you must seek the souls of creatures of greater evil to satisfy your crystal.<br>
|
||||
Remember that you may not absorb a soul with more than one crystal because a resonance effect is created between the crystals that prevents proper absorbtion.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-08.htm">Receive a soul crystal.</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-08.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-08.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
Please choose one of the following three types of crystals:<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-11.htm">Blue Soul Crystal</a><br>
|
||||
Each crystal bestows a different power upon the weapon it enhances, and the powers may vary from weapon to weapon.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-09.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-09.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
Here is a red soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-10.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-10.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
Here is a green soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-11.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-11.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
Here is a blue soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
11
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-12.htm
vendored
Normal file
11
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-12.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
From the following areas, which area's evil creatures would you like to obtain more information about?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-13.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-13.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that the most evil creatures in northern Oren are the <FONT COLOR=LEVEL>Timak Orcs.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-14.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-14.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that the most evil creatures in the Forest of Mirrors are the <FONT COLOR=LEVEL>Forest of Mirror ghosts, mirrors and Harit Lizardmen.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-15.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-15.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that the most evil creatures in the Cave of Giants are the <FONT COLOR=LEVEL>Halingkas, Yintzus, Paliotes, Hamruts, and Kranrots.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-16.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-16.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that the most evil creatures in the Devastated Castle are the <FONT COLOR=LEVEL>Doom Servants, Doom Guards, Doom Archers, Doom Troopers, Doom Warriors, and Doom Knights.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-17.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-17.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that the most evil creatures in the Tower of Insolence are the <FONT COLOR=LEVEL>Erin Ediunce, members of the Platinum Tribe and their Angels.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-18.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-18.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that the most evil creatures in the Lair of Antharas are the <FONT COLOR=LEVEL>Malruk Knights, Malruk Berserkers, Malruk Lords, Limal Karinness, Kariks, Pytans, and Pytan Knights.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-19.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-19.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that <FONT COLOR=LEVEL>all of the evil creatures inhabiting Eva's Underwater Garden</FONT> are appropriate soul donors.<br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-20.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-20.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
It seems that <FONT COLOR=LEVEL>all of the evil creatures inhabiting Devil's Isle</FONT> are appropriate soul donors.<br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-21.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-21.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
How is your mission going? Oh, I see that you need a new crystal!<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30194-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
Hello there, have you come to learn how to enhance the abilities of your weapon?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-02.htm">"Yes, I wish to learn more."</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-02.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-02.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
I have a growing sense of dread of late. Something terrible is coming. Can you hear it? The trees in the forest, the birds in the sky and the fish in the ocean...They know of what I speak...<br>
|
||||
I fear for the survival of the whole Human race, but I don't know what threatens it! This dark foreboding will not give me any peace whatsoever. I hope I am wrong but I fear I am not...<br>
|
||||
I must do what I can to save my race! I will find like-minded individuals to join my preperations for the coming apocolypse. If only we knew when...<br>
|
||||
Will you join my cause? Are you willing to lend a hand in preparing to fight the imminent darkness?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-04.htm">"I will join your cause!"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
You must hurry and collect the souls of evil creatures in the soul crystal. You will find the evil ones in the <FONT COLOR=LEVEL>northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the higher reaches of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle etc...</FONT>Take the crystal filled with souls to any blacksmith and he will enhance a weapon for you.<br>
|
||||
It is imperative that you build as much strength as possible to prepare yourself for the coming apocolypse. After growing each of your individual strength, if you put together all of your strengths, I think you will have enough force to fight against the approaching apocolypse. Then, next time we meet, I hope to see you stronger...<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-04.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-04.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
Oh, marvelous! If we all develop our strengths and work together, we will triumph over the coming cataclysm. My colleagues and I have recently developed a method of enhancing weaponry that should prove quite useful to all of us.<br>
|
||||
This <FONT COLOR=LEVEL>weapons enhancement</FONT> boosts strength noticeably in combat.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-05.htm">Explanation of weapons enhancement</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-05.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-05.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
To enhance a weapon you will need some <FONT COLOR=LEVEL>magical souls. You must collect the souls of evil creatures and trap them in the soul crystal I will give you.</FONT> You will then take the crystal to a blacksmith and he will extract the magic from the crystal and apply it to a weapon for you.<br>
|
||||
All blacksmiths know how to do this, but, obviously, they don't work for free.<br>
|
||||
You can collect the souls of the evil ones in the <FONT COLOR=LEVEL>northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the upper floors of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle.</FONT> Enhanced weapons would greatly aid your mission.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-06.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-06.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
<FONT COLOR=LEVEL>After you have sapped the evil one's strength in battle, apply the crystal to his skin. His soul will be absorbed into the crystal. His mortal body is easily dispatched.</FONT> Each soul crystal can contain up to 10 souls. <FONT COLOR=LEVEL>A more precise explanation would be that it can contain up to 10 souls with regular usage. I will tell you the detailed story later when you bring back the soul crystal with 10 souls.</FONT><br>
|
||||
Actually, collecting souls for the purpose of bestowing a weapon with a special power is not as easy as it sounds.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-07.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-07.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
The collection of a soul doesn't always go as planned. Some evil souls will simply not be absorbed, and, if you happen to collect the wrong soul, the crystal will shatter...<br>
|
||||
Soul crystals develop refined tastes, and will reject weaker souls after a while. When this happens you must seek the souls of creatures of greater evil to satisfy your crystal.<br>
|
||||
Remember that you may not absorb a soul with more than one crystal because a resonance effect is created between the crystals that prevents proper absorbtion.<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-08.htm">Receive a soul crystal.</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-08.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-08.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
Please choose one of the following three types of crystals:<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-11.htm">Blue Soul Crystal</a><br>
|
||||
Each crystal bestows a different power upon the weapon it enhances, and the powers may vary from weapon to weapon.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-09.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-09.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
Here is a red soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-10.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-10.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
Here is a green soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-11.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-11.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
Here is a blue soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.<br>
|
||||
Next time we meet I hope you have gained more strength.
|
||||
</body></html>
|
11
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-12.htm
vendored
Normal file
11
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-12.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
From the following areas, which area's evil creatures would you like to obtain more information about?<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-13.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-13.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that the most evil creatures in northern Oren are the <FONT COLOR=LEVEL>Timak Orcs.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-14.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-14.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that the most evil creatures in the Forest of Mirrors are the <FONT COLOR=LEVEL>Forest of Mirror ghosts, mirrors and Harit Lizardmen.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-15.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-15.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that the most evil creatures in the Cave of Giants are the <FONT COLOR=LEVEL>Halingkas, Yintzus, Paliotes, Hamruts, and Kranrots.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-16.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-16.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that the most evil creatures in the Devastated Castle are the <FONT COLOR=LEVEL>Doom Servants, Doom Guards, Doom Archers, Doom Troopers, Doom Warriors, and Doom Knights.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-17.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-17.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that the most evil creatures in the Tower of Insolence are the <FONT COLOR=LEVEL>Erin Ediunce, members of the Platinum Tribe and their Angels.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-18.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-18.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that the most evil creatures in the Lair of Antharas are the <FONT COLOR=LEVEL>Malruk Knights, Malruk Berserkers, Malruk Lords, Limal Karinness, Kariks, Pytans, and Pytan Knights.</FONT><br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-19.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-19.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that <FONT COLOR=LEVEL>all of the evil creatures inhabiting Eva's Underwater Garden</FONT> are appropriate soul donors.<br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-20.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-20.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
It seems that <FONT COLOR=LEVEL>all of the evil creatures inhabiting Devil's Isle</FONT> are appropriate soul donors.<br>
|
||||
Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-21.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-21.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
How is your mission going? Oh, I see that you need a new crystal!<br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon 30856-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest Q00350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
659
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java
vendored
Normal file
659
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java
vendored
Normal file
@@ -0,0 +1,659 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2014 L2J DataPack
|
||||
*
|
||||
* This file is part of L2J DataPack.
|
||||
*
|
||||
* L2J DataPack is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* L2J DataPack is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00350_EnhanceYourWeapon;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import javax.xml.parsers.DocumentBuilderFactory;
|
||||
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.model.AbsorberInfo;
|
||||
import com.l2jserver.gameserver.model.L2Object;
|
||||
import com.l2jserver.gameserver.model.actor.L2Attackable;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;
|
||||
import com.l2jserver.gameserver.model.quest.Quest;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
import com.l2jserver.gameserver.model.quest.State;
|
||||
import com.l2jserver.gameserver.model.skills.Skill;
|
||||
import com.l2jserver.gameserver.network.SystemMessageId;
|
||||
import com.l2jserver.gameserver.network.serverpackets.InventoryUpdate;
|
||||
import com.l2jserver.gameserver.network.serverpackets.SystemMessage;
|
||||
|
||||
/**
|
||||
* Enhance Your Weapon (350)
|
||||
* @author Gigiikun
|
||||
*/
|
||||
public class Q00350_EnhanceYourWeapon extends Quest
|
||||
{
|
||||
private static enum AbsorbCrystalType
|
||||
{
|
||||
LAST_HIT,
|
||||
FULL_PARTY,
|
||||
PARTY_ONE_RANDOM,
|
||||
PARTY_RANDOM
|
||||
}
|
||||
|
||||
private static final class LevelingInfo
|
||||
{
|
||||
private final AbsorbCrystalType _absorbCrystalType;
|
||||
private final boolean _isSkillNeeded;
|
||||
private final int _chance;
|
||||
|
||||
public LevelingInfo(AbsorbCrystalType absorbCrystalType, boolean isSkillNeeded, int chance)
|
||||
{
|
||||
_absorbCrystalType = absorbCrystalType;
|
||||
_isSkillNeeded = isSkillNeeded;
|
||||
_chance = chance;
|
||||
}
|
||||
|
||||
public final AbsorbCrystalType getAbsorbCrystalType()
|
||||
{
|
||||
return _absorbCrystalType;
|
||||
}
|
||||
|
||||
public final int getChance()
|
||||
{
|
||||
return _chance;
|
||||
}
|
||||
|
||||
public final boolean isSkillNeeded()
|
||||
{
|
||||
return _isSkillNeeded;
|
||||
}
|
||||
}
|
||||
|
||||
private static final class SoulCrystal
|
||||
{
|
||||
private final int _level;
|
||||
private final int _itemId;
|
||||
private final int _leveledItemId;
|
||||
|
||||
public SoulCrystal(int level, int itemId, int leveledItemId)
|
||||
{
|
||||
_level = level;
|
||||
_itemId = itemId;
|
||||
_leveledItemId = leveledItemId;
|
||||
}
|
||||
|
||||
public final int getItemId()
|
||||
{
|
||||
return _itemId;
|
||||
}
|
||||
|
||||
public final int getLevel()
|
||||
{
|
||||
return _level;
|
||||
}
|
||||
|
||||
public final int getLeveledItemId()
|
||||
{
|
||||
return _leveledItemId;
|
||||
}
|
||||
}
|
||||
|
||||
// NPCs
|
||||
private static final int[] STARTING_NPCS =
|
||||
{
|
||||
30115,
|
||||
30856,
|
||||
30194
|
||||
};
|
||||
// Items
|
||||
private static final int RED_SOUL_CRYSTAL0_ID = 4629;
|
||||
private static final int GREEN_SOUL_CRYSTAL0_ID = 4640;
|
||||
private static final int BLUE_SOUL_CRYSTAL0_ID = 4651;
|
||||
|
||||
private static final Map<Integer, SoulCrystal> SOUL_CRYSTALS = new HashMap<>();
|
||||
// <npcid, <level, LevelingInfo>>
|
||||
private static final Map<Integer, Map<Integer, LevelingInfo>> NPC_LEVELING_INFO = new HashMap<>();
|
||||
|
||||
public Q00350_EnhanceYourWeapon()
|
||||
{
|
||||
super(350, Q00350_EnhanceYourWeapon.class.getSimpleName(), "Enhance Your Weapon");
|
||||
addStartNpc(STARTING_NPCS);
|
||||
addTalkId(STARTING_NPCS);
|
||||
load();
|
||||
for (int npcId : NPC_LEVELING_INFO.keySet())
|
||||
{
|
||||
addSkillSeeId(npcId);
|
||||
addKillId(npcId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = event;
|
||||
QuestState st = getQuestState(player, false);
|
||||
if (event.endsWith("-04.htm"))
|
||||
{
|
||||
st.startQuest();
|
||||
}
|
||||
else if (event.endsWith("-09.htm"))
|
||||
{
|
||||
st.giveItems(RED_SOUL_CRYSTAL0_ID, 1);
|
||||
}
|
||||
else if (event.endsWith("-10.htm"))
|
||||
{
|
||||
st.giveItems(GREEN_SOUL_CRYSTAL0_ID, 1);
|
||||
}
|
||||
else if (event.endsWith("-11.htm"))
|
||||
{
|
||||
st.giveItems(BLUE_SOUL_CRYSTAL0_ID, 1);
|
||||
}
|
||||
else if (event.equalsIgnoreCase("exit.htm"))
|
||||
{
|
||||
st.exitQuest(true);
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
if (npc.isAttackable() && NPC_LEVELING_INFO.containsKey(npc.getId()))
|
||||
{
|
||||
levelSoulCrystals((L2Attackable) npc, killer);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onSkillSee(L2Npc npc, L2PcInstance caster, Skill skill, L2Object[] targets, boolean isSummon)
|
||||
{
|
||||
super.onSkillSee(npc, caster, skill, targets, isSummon);
|
||||
|
||||
if ((skill == null) || (skill.getId() != 2096))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if ((caster == null) || caster.isDead())
|
||||
{
|
||||
return null;
|
||||
}
|
||||
if (!npc.isAttackable() || npc.isDead() || !NPC_LEVELING_INFO.containsKey(npc.getId()))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
((L2Attackable) npc).addAbsorber(caster);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_log.log(Level.SEVERE, "", e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState st = getQuestState(player, true);
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
if (st.getState() == State.CREATED)
|
||||
{
|
||||
st.set("cond", "0");
|
||||
}
|
||||
if (st.getInt("cond") == 0)
|
||||
{
|
||||
htmltext = npc.getId() + "-01.htm";
|
||||
}
|
||||
else if (check(st))
|
||||
{
|
||||
htmltext = npc.getId() + "-03.htm";
|
||||
}
|
||||
else if (!st.hasQuestItems(RED_SOUL_CRYSTAL0_ID) && !st.hasQuestItems(GREEN_SOUL_CRYSTAL0_ID) && !st.hasQuestItems(BLUE_SOUL_CRYSTAL0_ID))
|
||||
{
|
||||
htmltext = npc.getId() + "-21.htm";
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
private static boolean check(QuestState st)
|
||||
{
|
||||
for (int i = 4629; i < 4665; i++)
|
||||
{
|
||||
if (st.hasQuestItems(i))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static void exchangeCrystal(L2PcInstance player, L2Attackable mob, int takeid, int giveid, boolean broke)
|
||||
{
|
||||
L2ItemInstance Item = player.getInventory().destroyItemByItemId("SoulCrystal", takeid, 1, player, mob);
|
||||
if (Item != null)
|
||||
{
|
||||
// Prepare inventory update packet
|
||||
InventoryUpdate playerIU = new InventoryUpdate();
|
||||
playerIU.addRemovedItem(Item);
|
||||
|
||||
// Add new crystal to the killer's inventory
|
||||
Item = player.getInventory().addItem("SoulCrystal", giveid, 1, player, mob);
|
||||
playerIU.addItem(Item);
|
||||
|
||||
// Send a sound event and text message to the player
|
||||
if (broke)
|
||||
{
|
||||
player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_BROKE_BECAUSE_IT_WAS_NOT_ABLE_TO_ENDURE_THE_SOUL_ENERGY);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_SUCCEEDED_IN_ABSORBING_A_SOUL);
|
||||
}
|
||||
|
||||
// Send system message
|
||||
SystemMessage sms = SystemMessage.getSystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
|
||||
sms.addItemName(giveid);
|
||||
player.sendPacket(sms);
|
||||
|
||||
// Send inventory update packet
|
||||
player.sendPacket(playerIU);
|
||||
}
|
||||
}
|
||||
|
||||
private static SoulCrystal getSCForPlayer(L2PcInstance player)
|
||||
{
|
||||
final QuestState st = player.getQuestState(Q00350_EnhanceYourWeapon.class.getSimpleName());
|
||||
if ((st == null) || !st.isStarted())
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
L2ItemInstance[] inv = player.getInventory().getItems();
|
||||
SoulCrystal ret = null;
|
||||
for (L2ItemInstance item : inv)
|
||||
{
|
||||
int itemId = item.getId();
|
||||
if (!SOUL_CRYSTALS.containsKey(itemId))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ret != null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
ret = SOUL_CRYSTALS.get(itemId);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
private static boolean isPartyLevelingMonster(int npcId)
|
||||
{
|
||||
for (LevelingInfo li : NPC_LEVELING_INFO.get(npcId).values())
|
||||
{
|
||||
if (li.getAbsorbCrystalType() != AbsorbCrystalType.LAST_HIT)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static void levelCrystal(L2PcInstance player, SoulCrystal sc, L2Attackable mob)
|
||||
{
|
||||
if ((sc == null) || !NPC_LEVELING_INFO.containsKey(mob.getId()))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// If the crystal level is way too high for this mob, say that we can't increase it
|
||||
if (!NPC_LEVELING_INFO.get(mob.getId()).containsKey(sc.getLevel()))
|
||||
{
|
||||
player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_IS_REFUSING_TO_ABSORB_THE_SOUL);
|
||||
return;
|
||||
}
|
||||
|
||||
if (getRandom(100) <= NPC_LEVELING_INFO.get(mob.getId()).get(sc.getLevel()).getChance())
|
||||
{
|
||||
exchangeCrystal(player, mob, sc.getItemId(), sc.getLeveledItemId(), false);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_WAS_NOT_ABLE_TO_ABSORB_THE_SOUL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculate the leveling chance of Soul Crystals based on the attacker that killed this L2Attackable
|
||||
* @param mob
|
||||
* @param killer The player that last killed this L2Attackable $ Rewrite 06.12.06 - Yesod $ Rewrite 08.01.10 - Gigiikun
|
||||
*/
|
||||
public static void levelSoulCrystals(L2Attackable mob, L2PcInstance killer)
|
||||
{
|
||||
// Only L2PcInstance can absorb a soul
|
||||
if (killer == null)
|
||||
{
|
||||
mob.resetAbsorbList();
|
||||
return;
|
||||
}
|
||||
|
||||
Map<L2PcInstance, SoulCrystal> players = new HashMap<>();
|
||||
int maxSCLevel = 0;
|
||||
|
||||
// TODO: what if mob support last_hit + party?
|
||||
if (isPartyLevelingMonster(mob.getId()) && (killer.getParty() != null))
|
||||
{
|
||||
// firts get the list of players who has one Soul Cry and the quest
|
||||
for (L2PcInstance pl : killer.getParty().getMembers())
|
||||
{
|
||||
if (pl == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
SoulCrystal sc = getSCForPlayer(pl);
|
||||
if (sc == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
players.put(pl, sc);
|
||||
if ((maxSCLevel < sc.getLevel()) && NPC_LEVELING_INFO.get(mob.getId()).containsKey(sc.getLevel()))
|
||||
{
|
||||
maxSCLevel = sc.getLevel();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
SoulCrystal sc = getSCForPlayer(killer);
|
||||
if (sc != null)
|
||||
{
|
||||
players.put(killer, sc);
|
||||
if ((maxSCLevel < sc.getLevel()) && NPC_LEVELING_INFO.get(mob.getId()).containsKey(sc.getLevel()))
|
||||
{
|
||||
maxSCLevel = sc.getLevel();
|
||||
}
|
||||
}
|
||||
}
|
||||
// Init some useful vars
|
||||
LevelingInfo mainlvlInfo = NPC_LEVELING_INFO.get(mob.getId()).get(maxSCLevel);
|
||||
|
||||
if (mainlvlInfo == null)
|
||||
{
|
||||
/* throw new NullPointerException("Target: "+mob+ " player: "+killer+" level: "+maxSCLevel); */
|
||||
return;
|
||||
}
|
||||
|
||||
// If this mob is not require skill, then skip some checkings
|
||||
if (mainlvlInfo.isSkillNeeded())
|
||||
{
|
||||
// Fail if this L2Attackable isn't absorbed or there's no one in its _absorbersList
|
||||
if (!mob.isAbsorbed() /* || _absorbersList == null */)
|
||||
{
|
||||
mob.resetAbsorbList();
|
||||
return;
|
||||
}
|
||||
|
||||
// Fail if the killer isn't in the _absorbersList of this L2Attackable and mob is not boss
|
||||
AbsorberInfo ai = mob.getAbsorbersList().get(killer.getObjectId());
|
||||
boolean isSuccess = true;
|
||||
if ((ai == null) || (ai.getObjectId() != killer.getObjectId()))
|
||||
{
|
||||
isSuccess = false;
|
||||
}
|
||||
|
||||
// Check if the soul crystal was used when HP of this L2Attackable wasn't higher than half of it
|
||||
if ((ai != null) && (ai.getAbsorbedHp() > (mob.getMaxHp() / 2.0)))
|
||||
{
|
||||
isSuccess = false;
|
||||
}
|
||||
|
||||
if (!isSuccess)
|
||||
{
|
||||
mob.resetAbsorbList();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
switch (mainlvlInfo.getAbsorbCrystalType())
|
||||
{
|
||||
case PARTY_ONE_RANDOM:
|
||||
// This is a naive method for selecting a random member. It gets any random party member and
|
||||
// then checks if the member has a valid crystal. It does not select the random party member
|
||||
// among those who have crystals, only. However, this might actually be correct (same as retail).
|
||||
if (killer.getParty() != null)
|
||||
{
|
||||
L2PcInstance lucky = killer.getParty().getMembers().get(getRandom(killer.getParty().getMemberCount()));
|
||||
levelCrystal(lucky, players.get(lucky), mob);
|
||||
}
|
||||
else
|
||||
{
|
||||
levelCrystal(killer, players.get(killer), mob);
|
||||
}
|
||||
break;
|
||||
case PARTY_RANDOM:
|
||||
if (killer.getParty() != null)
|
||||
{
|
||||
List<L2PcInstance> luckyParty = new ArrayList<>();
|
||||
luckyParty.addAll(killer.getParty().getMembers());
|
||||
while ((getRandom(100) < 33) && !luckyParty.isEmpty())
|
||||
{
|
||||
L2PcInstance lucky = luckyParty.remove(getRandom(luckyParty.size()));
|
||||
if (players.containsKey(lucky))
|
||||
{
|
||||
levelCrystal(lucky, players.get(lucky), mob);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (getRandom(100) < 33)
|
||||
{
|
||||
levelCrystal(killer, players.get(killer), mob);
|
||||
}
|
||||
break;
|
||||
case FULL_PARTY:
|
||||
if (killer.getParty() != null)
|
||||
{
|
||||
for (L2PcInstance pl : killer.getParty().getMembers())
|
||||
{
|
||||
levelCrystal(pl, players.get(pl), mob);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
levelCrystal(killer, players.get(killer), mob);
|
||||
}
|
||||
break;
|
||||
case LAST_HIT:
|
||||
levelCrystal(killer, players.get(killer), mob);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: Implement using DocumentParser.
|
||||
*/
|
||||
private static void load()
|
||||
{
|
||||
try
|
||||
{
|
||||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
||||
factory.setValidating(false);
|
||||
factory.setIgnoringComments(true);
|
||||
|
||||
File file = new File(Config.DATAPACK_ROOT, "data/levelUpCrystalData.xml");
|
||||
if (!file.exists())
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] Missing levelUpCrystalData.xml. The quest wont work without it!");
|
||||
return;
|
||||
}
|
||||
|
||||
Document doc = factory.newDocumentBuilder().parse(file);
|
||||
Node first = doc.getFirstChild();
|
||||
if ((first != null) && "list".equalsIgnoreCase(first.getNodeName()))
|
||||
{
|
||||
for (Node n = first.getFirstChild(); n != null; n = n.getNextSibling())
|
||||
{
|
||||
if ("crystal".equalsIgnoreCase(n.getNodeName()))
|
||||
{
|
||||
for (Node d = n.getFirstChild(); d != null; d = d.getNextSibling())
|
||||
{
|
||||
if ("item".equalsIgnoreCase(d.getNodeName()))
|
||||
{
|
||||
NamedNodeMap attrs = d.getAttributes();
|
||||
Node att = attrs.getNamedItem("itemId");
|
||||
if (att == null)
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] Missing itemId in Crystal List, skipping");
|
||||
continue;
|
||||
}
|
||||
int itemId = Integer.parseInt(attrs.getNamedItem("itemId").getNodeValue());
|
||||
|
||||
att = attrs.getNamedItem("level");
|
||||
if (att == null)
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] Missing level in Crystal List itemId: " + itemId + ", skipping");
|
||||
continue;
|
||||
}
|
||||
int level = Integer.parseInt(attrs.getNamedItem("level").getNodeValue());
|
||||
|
||||
att = attrs.getNamedItem("leveledItemId");
|
||||
if (att == null)
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] Missing leveledItemId in Crystal List itemId: " + itemId + ", skipping");
|
||||
continue;
|
||||
}
|
||||
int leveledItemId = Integer.parseInt(attrs.getNamedItem("leveledItemId").getNodeValue());
|
||||
|
||||
SOUL_CRYSTALS.put(itemId, new SoulCrystal(level, itemId, leveledItemId));
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ("npc".equalsIgnoreCase(n.getNodeName()))
|
||||
{
|
||||
for (Node d = n.getFirstChild(); d != null; d = d.getNextSibling())
|
||||
{
|
||||
if ("item".equalsIgnoreCase(d.getNodeName()))
|
||||
{
|
||||
NamedNodeMap attrs = d.getAttributes();
|
||||
Node att = attrs.getNamedItem("npcId");
|
||||
if (att == null)
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] Missing npcId in NPC List, skipping");
|
||||
continue;
|
||||
}
|
||||
|
||||
int npcId = Integer.parseInt(att.getNodeValue());
|
||||
Map<Integer, LevelingInfo> temp = new HashMap<>();
|
||||
for (Node cd = d.getFirstChild(); cd != null; cd = cd.getNextSibling())
|
||||
{
|
||||
boolean isSkillNeeded = false;
|
||||
int chance = 5;
|
||||
AbsorbCrystalType absorbType = AbsorbCrystalType.LAST_HIT;
|
||||
|
||||
if ("detail".equalsIgnoreCase(cd.getNodeName()))
|
||||
{
|
||||
attrs = cd.getAttributes();
|
||||
|
||||
att = attrs.getNamedItem("absorbType");
|
||||
if (att != null)
|
||||
{
|
||||
absorbType = Enum.valueOf(AbsorbCrystalType.class, att.getNodeValue());
|
||||
}
|
||||
|
||||
att = attrs.getNamedItem("chance");
|
||||
if (att != null)
|
||||
{
|
||||
chance = Integer.parseInt(att.getNodeValue());
|
||||
}
|
||||
|
||||
att = attrs.getNamedItem("skill");
|
||||
if (att != null)
|
||||
{
|
||||
isSkillNeeded = Boolean.parseBoolean(att.getNodeValue());
|
||||
}
|
||||
|
||||
Node att1 = attrs.getNamedItem("maxLevel");
|
||||
Node att2 = attrs.getNamedItem("levelList");
|
||||
if ((att1 == null) && (att2 == null))
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] Missing maxlevel/levelList in NPC List npcId: " + npcId + ", skipping");
|
||||
continue;
|
||||
}
|
||||
LevelingInfo info = new LevelingInfo(absorbType, isSkillNeeded, chance);
|
||||
if (att1 != null)
|
||||
{
|
||||
int maxLevel = Integer.parseInt(att1.getNodeValue());
|
||||
for (int i = 0; i <= maxLevel; i++)
|
||||
{
|
||||
temp.put(i, info);
|
||||
}
|
||||
}
|
||||
else if (att2 != null)
|
||||
{
|
||||
StringTokenizer st = new StringTokenizer(att2.getNodeValue(), ",");
|
||||
int tokenCount = st.countTokens();
|
||||
for (int i = 0; i < tokenCount; i++)
|
||||
{
|
||||
Integer value = Integer.decode(st.nextToken().trim());
|
||||
if (value == null)
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] Bad Level value!! npcId: " + npcId + " token: " + i);
|
||||
value = 0;
|
||||
}
|
||||
temp.put(value, info);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (temp.isEmpty())
|
||||
{
|
||||
_log.severe("[EnhanceYourWeapon] No leveling info for npcId: " + npcId + ", skipping");
|
||||
continue;
|
||||
}
|
||||
NPC_LEVELING_INFO.put(npcId, temp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_log.log(Level.WARNING, "[EnhanceYourWeapon] Could not parse levelUpCrystalData.xml file: " + e.getMessage(), e);
|
||||
}
|
||||
_log.info("[EnhanceYourWeapon] Loaded " + SOUL_CRYSTALS.size() + " Soul Crystal data.");
|
||||
_log.info("[EnhanceYourWeapon] Loaded " + NPC_LEVELING_INFO.size() + " npc Leveling info data.");
|
||||
}
|
||||
}
|
2
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/exit.htm
vendored
Normal file
2
trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/exit.htm
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<html><body>Goodbye
|
||||
</body></html>
|
Reference in New Issue
Block a user