Addition of quest Enhance Your Weapon (350).
This commit is contained in:
parent
90a3aeed6b
commit
25adfeefea
@ -1,7 +0,0 @@
|
||||
<html><body>Grand Magister Jurek:<br>
|
||||
Please choose one of the following three types of crystals:<br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest 350_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>
|
@ -1,11 +0,0 @@
|
||||
<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 350_EnhanceYourWeapon 30115-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30115-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<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 350_EnhanceYourWeapon 30115-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
@ -1,7 +0,0 @@
|
||||
<html><body>Master Gideon:<br>
|
||||
Please choose one of the following three types of crystals:<br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest 350_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>
|
@ -1,11 +0,0 @@
|
||||
<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 350_EnhanceYourWeapon 30194-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30194-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<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 350_EnhanceYourWeapon 30194-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
@ -1,7 +0,0 @@
|
||||
<html><body>Magister Winonin:<br>
|
||||
Please choose one of the following three types of crystals:<br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest 350_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>
|
@ -1,11 +0,0 @@
|
||||
<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 350_EnhanceYourWeapon 30856-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon 30856-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<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 350_EnhanceYourWeapon 30856-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest 350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
@ -1,71 +0,0 @@
|
||||
# Weapon SA Quest Written By MickyLee
|
||||
# rewritten by Questdevs Team
|
||||
import sys
|
||||
from org.l2jmobius.gameserver.model.quest import State
|
||||
from org.l2jmobius.gameserver.model.quest import QuestState
|
||||
from org.l2jmobius.gameserver.model.quest.jython import QuestJython as JQuest
|
||||
|
||||
qn = "350_EnhanceYourWeapon"
|
||||
|
||||
NPC=[30115,30856,30194]
|
||||
|
||||
RED_SOUL_CRYSTAL0_ID,RED_SOUL_CRYSTAL1_ID,RED_SOUL_CRYSTAL2_ID,RED_SOUL_CRYSTAL3_ID,\
|
||||
RED_SOUL_CRYSTAL4_ID,RED_SOUL_CRYSTAL5_ID,RED_SOUL_CRYSTAL6_ID,RED_SOUL_CRYSTAL7_ID,\
|
||||
RED_SOUL_CRYSTAL8_ID,RED_SOUL_CRYSTAL9_ID,RED_SOUL_CRYSTAL10_ID,GREEN_SOUL_CRYSTAL0_ID,\
|
||||
GREEN_SOUL_CRYSTAL1_ID,GREEN_SOUL_CRYSTAL2_ID,GREEN_SOUL_CRYSTAL3_ID,GREEN_SOUL_CRYSTAL4_ID,\
|
||||
GREEN_SOUL_CRYSTAL5_ID,GREEN_SOUL_CRYSTAL6_ID,GREEN_SOUL_CRYSTAL7_ID,GREEN_SOUL_CRYSTAL8_ID,\
|
||||
GREEN_SOUL_CRYSTAL9_ID,GREEN_SOUL_CRYSTAL10_ID,BLUE_SOUL_CRYSTAL0_ID,BLUE_SOUL_CRYSTAL1_ID,\
|
||||
BLUE_SOUL_CRYSTAL2_ID,BLUE_SOUL_CRYSTAL3_ID,BLUE_SOUL_CRYSTAL4_ID,BLUE_SOUL_CRYSTAL5_ID,\
|
||||
BLUE_SOUL_CRYSTAL6_ID,BLUE_SOUL_CRYSTAL7_ID,BLUE_SOUL_CRYSTAL8_ID,BLUE_SOUL_CRYSTAL9_ID,\
|
||||
BLUE_SOUL_CRYSTAL10_ID,RED_SOUL_CRYSTALX_ID,GREEN_SOUL_CRYSTALX_ID,BLUE_SOUL_CRYSTALX_ID = range(4629,4665)
|
||||
|
||||
def check(st) :
|
||||
for i in range(4629,4665) :
|
||||
if st.getQuestItemsCount(i)>0 :
|
||||
return True
|
||||
return False
|
||||
|
||||
class Quest (JQuest) :
|
||||
|
||||
def __init__(self,id,name,descr):
|
||||
JQuest.__init__(self,id,name,descr)
|
||||
#self.questItemIds = [RED_SOUL_CRYSTAL0_ID, GREEN_SOUL_CRYSTAL0_ID, BLUE_SOUL_CRYSTAL0_ID]
|
||||
|
||||
def onEvent (self,event,st) :
|
||||
htmltext = event
|
||||
if event in ["30115-04.htm","30856-04.htm","30194-04.htm"] :
|
||||
st.set("cond","1")
|
||||
st.setState(State.STARTED)
|
||||
st.playSound("ItemSound.quest_accept")
|
||||
elif event in ["30115-09.htm","30856-09.htm","30194-09.htm"] :
|
||||
st.giveItems(RED_SOUL_CRYSTAL0_ID,1)
|
||||
elif event in ["30115-10.htm","30856-10.htm","30194-10.htm"] :
|
||||
st.giveItems(GREEN_SOUL_CRYSTAL0_ID,1)
|
||||
elif event in ["30115-11.htm","30856-11.htm","30194-11.htm"] :
|
||||
st.giveItems(BLUE_SOUL_CRYSTAL0_ID,1)
|
||||
elif event == "exit.htm" :
|
||||
st.exitQuest(1)
|
||||
return htmltext
|
||||
|
||||
def onTalk (self,npc,player):
|
||||
htmltext = "<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>"
|
||||
st = player.getQuestState(qn)
|
||||
if not st : return htmltext
|
||||
|
||||
npcId = str(npc.getNpcId())
|
||||
id = st.getState()
|
||||
if id == State.CREATED :
|
||||
st.set("cond","0")
|
||||
if st.getInt("cond") == 0:
|
||||
htmltext = npcId+"-01.htm"
|
||||
elif check(st) :
|
||||
htmltext = npcId+"-03.htm"
|
||||
elif st.getQuestItemsCount(RED_SOUL_CRYSTAL0_ID) == st.getQuestItemsCount(GREEN_SOUL_CRYSTAL0_ID) == st.getQuestItemsCount(BLUE_SOUL_CRYSTAL0_ID) == 0 :
|
||||
htmltext = npcId+"-21.htm"
|
||||
return htmltext
|
||||
|
||||
QUEST = Quest(350,qn,"Enhance Your Weapon")
|
||||
|
||||
for npcId in NPC:
|
||||
QUEST.addStartNpc(npcId)
|
||||
QUEST.addTalkId(npcId)
|
@ -1,4 +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 350_EnhanceYourWeapon 30115-02.htm">"Yes, I wish to learn more."</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-02.htm">"Yes, I wish to learn more."</a>
|
||||
</body></html>
|
@ -3,5 +3,5 @@ I have a growing sense of dread of late. Something terrible is coming. Can you h
|
||||
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 350_EnhanceYourWeapon 30115-04.htm">"I will join your cause!"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-04.htm">"I will join your cause!"</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30115-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30115-05.htm">Explanation of weapons enhancement</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-05.htm">Explanation of weapons enhancement</a>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
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 350_EnhanceYourWeapon 30115-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30115-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
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 350_EnhanceYourWeapon 30115-08.htm">Receive a soul crystal.</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-08.htm">Receive a soul crystal.</a>
|
||||
</body></html>
|
7
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30115-08.htm
vendored
Normal file
7
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30115-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q350_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>
|
11
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30115-12.htm
vendored
Normal file
11
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30115-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30115-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
5
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30115-21.htm
vendored
Normal file
5
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30115-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
@ -1,4 +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 350_EnhanceYourWeapon 30194-02.htm">"Yes, I wish to learn more."</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-02.htm">"Yes, I wish to learn more."</a>
|
||||
</body></html>
|
@ -3,5 +3,5 @@ I have a growing sense of dread of late. Something terrible is coming. Can you h
|
||||
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 350_EnhanceYourWeapon 30194-04.htm">"I will join your cause!"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-04.htm">"I will join your cause!"</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30194-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30194-05.htm">Explanation of weapons enhancement</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-05.htm">Explanation of weapons enhancement</a>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
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 350_EnhanceYourWeapon 30194-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30194-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
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 350_EnhanceYourWeapon 30194-08.htm">Receive a soul crystal.</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-08.htm">Receive a soul crystal.</a>
|
||||
</body></html>
|
7
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30194-08.htm
vendored
Normal file
7
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30194-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q350_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>
|
11
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30194-12.htm
vendored
Normal file
11
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30194-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30194-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
5
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30194-21.htm
vendored
Normal file
5
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30194-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
@ -1,4 +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 350_EnhanceYourWeapon 30856-02.htm">"Yes, I wish to learn more."</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-02.htm">"Yes, I wish to learn more."</a>
|
||||
</body></html>
|
@ -3,5 +3,5 @@ I have a growing sense of dread of late. Something terrible is coming. Can you h
|
||||
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 350_EnhanceYourWeapon 30856-04.htm">"I will join your cause!"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-04.htm">"I will join your cause!"</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30856-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-12.htm">Ask about the evil creatures from which you will collect souls.</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30856-05.htm">Explanation of weapons enhancement</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-05.htm">Explanation of weapons enhancement</a>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
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 350_EnhanceYourWeapon 30856-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-06.htm">"How do I collect the souls of the evil ones?"</a>
|
||||
</body></html>
|
@ -1,5 +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 350_EnhanceYourWeapon 30856-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-07.htm">What are the precautions to take when collecting souls?"</a>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
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 350_EnhanceYourWeapon 30856-08.htm">Receive a soul crystal.</a>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-08.htm">Receive a soul crystal.</a>
|
||||
</body></html>
|
7
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30856-08.htm
vendored
Normal file
7
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30856-09.htm">Red Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-10.htm">Green Soul Crystal</a><br>
|
||||
<a action="bypass -h Quest Q350_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>
|
11
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30856-12.htm
vendored
Normal file
11
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30856-13.htm">Northern Oren</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-14.htm">Forest of Mirrors</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-15.htm">Cave of Giants</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-16.htm">Devastated Castle</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-17.htm">Tower of Insolence</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-18.htm">Lair of Antharas</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-19.htm">Eva's Underwater Garden</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon 30856-20.htm">Devil's Isle</a>
|
||||
</body></html>
|
5
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_EnhanceYourWeapon/30856-21.htm
vendored
Normal file
5
L2J_Mobius_C6_Interlude/dist/game/data/scripts/quests/Q350_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 Q350_EnhanceYourWeapon 30856-08.htm">"Yes, please, may I have another?"</a><br>
|
||||
<a action="bypass -h Quest Q350_EnhanceYourWeapon exit.htm">"Quit"</a>
|
||||
</body></html>
|
@ -0,0 +1,148 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program 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.
|
||||
*
|
||||
* This program 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.Q350_EnhanceYourWeapon;
|
||||
|
||||
import org.l2jmobius.gameserver.model.actor.instance.NpcInstance;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
* @note Based on python script
|
||||
*/
|
||||
public class Q350_EnhanceYourWeapon extends Quest
|
||||
{
|
||||
private static final String qn = "Q350_EnhanceYourWeapon";
|
||||
|
||||
// NPCs
|
||||
private static final int[] 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;
|
||||
|
||||
public Q350_EnhanceYourWeapon()
|
||||
{
|
||||
super(350, qn, "Enhance Your Weapon");
|
||||
|
||||
addStartNpc(NPCS);
|
||||
addTalkId(NPCS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, NpcInstance npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = event;
|
||||
QuestState qs = player.getQuestState(qn);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "30115-04.htm":
|
||||
case "30856-04.htm":
|
||||
case "30194-04.htm":
|
||||
{
|
||||
qs.set("cond", "1");
|
||||
qs.setState(State.STARTED);
|
||||
qs.playSound("ItemSound.quest_accept");
|
||||
break;
|
||||
}
|
||||
case "30115-09.htm":
|
||||
case "30856-09.htm":
|
||||
case "30194-09.htm":
|
||||
{
|
||||
qs.giveItems(RED_SOUL_CRYSTAL0_ID, 1);
|
||||
break;
|
||||
}
|
||||
case "30115-10.htm":
|
||||
case "30856-10.htm":
|
||||
case "30194-10.htm":
|
||||
{
|
||||
qs.giveItems(GREEN_SOUL_CRYSTAL0_ID, 1);
|
||||
break;
|
||||
}
|
||||
case "30115-11.htm":
|
||||
case "30856-11.htm":
|
||||
case "30194-11.htm":
|
||||
{
|
||||
qs.giveItems(BLUE_SOUL_CRYSTAL0_ID, 1);
|
||||
break;
|
||||
}
|
||||
case "exit.htm":
|
||||
{
|
||||
qs.exitQuest(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(NpcInstance npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg();
|
||||
QuestState qs = player.getQuestState(qn);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
final int npcId = npc.getNpcId();
|
||||
final int id = qs.getState();
|
||||
if (id == State.CREATED)
|
||||
{
|
||||
qs.set("cond", "0");
|
||||
}
|
||||
if (qs.getInt("cond") == 0)
|
||||
{
|
||||
htmltext = npcId + "-01.htm";
|
||||
}
|
||||
else if (check(qs))
|
||||
{
|
||||
htmltext = npcId + "-03.htm";
|
||||
}
|
||||
else if ((qs.getQuestItemsCount(RED_SOUL_CRYSTAL0_ID) == 0) && (qs.getQuestItemsCount(GREEN_SOUL_CRYSTAL0_ID) == 0) && (qs.getQuestItemsCount(BLUE_SOUL_CRYSTAL0_ID) == 0))
|
||||
{
|
||||
htmltext = npcId + "-21.htm";
|
||||
}
|
||||
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
private boolean check(QuestState st)
|
||||
{
|
||||
for (int i = 4629; i <= 4665; i++)
|
||||
{
|
||||
if (st.getQuestItemsCount(i) > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
@ -225,6 +225,7 @@ import quests.Q344_1000YearsTheEndOfLamentation.Q344_1000YearsTheEndOfLamentatio
|
||||
import quests.Q345_MethodToRaiseTheDead.Q345_MethodToRaiseTheDead;
|
||||
import quests.Q347_GoGetTheCalculator.Q347_GoGetTheCalculator;
|
||||
import quests.Q348_AnArrogantSearch.Q348_AnArrogantSearch;
|
||||
import quests.Q350_EnhanceYourWeapon.Q350_EnhanceYourWeapon;
|
||||
import quests.Q351_BlackSwan.Q351_BlackSwan;
|
||||
import quests.Q352_HelpRoodRaiseANewPet.Q352_HelpRoodRaiseANewPet;
|
||||
import quests.Q353_PowerOfDarkness.Q353_PowerOfDarkness;
|
||||
@ -556,6 +557,7 @@ public class QuestMasterHandler
|
||||
Q345_MethodToRaiseTheDead.class,
|
||||
Q347_GoGetTheCalculator.class,
|
||||
Q348_AnArrogantSearch.class,
|
||||
Q350_EnhanceYourWeapon.class,
|
||||
Q351_BlackSwan.class,
|
||||
Q352_HelpRoodRaiseANewPet.class,
|
||||
Q353_PowerOfDarkness.class,
|
||||
|
Loading…
Reference in New Issue
Block a user