Skip to content
Snippets Groups Projects
Commit 57927345 authored by Adry_85's avatar Adry_85
Browse files

BETA: '''Dragon Valley''' related fixes:

- Deleted '''Galman''' not spawned anymore in High Five.
- Deleted quests '''Power of Darkness''', '''Whisper of Dreams - Part 1''' and '''Whisper of Dreams - Part 2''' that are no longer available since High Five.
parent ccf80672
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 160 deletions
<html><body>Merchant Gaiman:<br>
I have the lowest prices in all of Giran. Hey, adventurer, why not take a quick look? I promise you won't regret it!<br>
<a action="bypass -h npc_%objectId%_Buy 3104400">Buy/Sell/Refund General.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
\ No newline at end of file
...@@ -548,7 +548,6 @@ quests/348_ArrogantSearch/__init__.py ...@@ -548,7 +548,6 @@ quests/348_ArrogantSearch/__init__.py
quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java
quests/351_BlackSwan/__init__.py quests/351_BlackSwan/__init__.py
quests/352_HelpRoodRaiseANewPet/__init__.py quests/352_HelpRoodRaiseANewPet/__init__.py
quests/353_PowerOfDarkness/__init__.py
quests/354_ConquestOfAlligatorIsland/__init__.py quests/354_ConquestOfAlligatorIsland/__init__.py
quests/355_FamilyHonor/__init__.py quests/355_FamilyHonor/__init__.py
quests/356_DigUpTheSeaOfSpores/__init__.py quests/356_DigUpTheSeaOfSpores/__init__.py
...@@ -568,8 +567,6 @@ quests/370_AWisemanSowsSeeds/__init__.py ...@@ -568,8 +567,6 @@ quests/370_AWisemanSowsSeeds/__init__.py
quests/371_ShriekOfGhosts/__init__.py quests/371_ShriekOfGhosts/__init__.py
quests/372_LegacyOfInsolence/__init__.py quests/372_LegacyOfInsolence/__init__.py
quests/373_SupplierOfReagents/__init__.py quests/373_SupplierOfReagents/__init__.py
quests/374_WhisperOfDreams1/__init__.py
quests/375_WhisperOfDreams2/__init__.py
quests/Q00376_ExplorationOfTheGiantsCavePart1/Q00376_ExplorationOfTheGiantsCavePart1.java quests/Q00376_ExplorationOfTheGiantsCavePart1/Q00376_ExplorationOfTheGiantsCavePart1.java
quests/Q00377_ExplorationOfTheGiantsCavePart2/Q00377_ExplorationOfTheGiantsCavePart2.java quests/Q00377_ExplorationOfTheGiantsCavePart2/Q00377_ExplorationOfTheGiantsCavePart2.java
quests/378_MagnificentFeast/__init__.py quests/378_MagnificentFeast/__init__.py
......
<html><body>Trader Galman:<br>
Hey! What are you doing? You shouldn't be here! This place is too dangerous for you.<br>
(This quest can only be undertaken by a character of level 55 or above.)
</body></html>
\ No newline at end of file
<html><body>Trader Galman:<br>
Have you ever heard of the Stone of Contract? It is used to tap into the power of darkness...<br>
Why are you looking at me like that? Don't hold it against me just because I mentioned the power of darkness. Actually, it's all due to a woman. My one and only love...<br>
<a action="bypass -h Quest 353_PowerOfDarkness 31044-03.htm">"Is she in trouble?"</a>
</body></html>
\ No newline at end of file
<html><body>Trader Galman:<br>
She recently fell sick with some mysterious illness. I took her to the priest, and we've tried numerous medicines, but all for naught. As a last resort I decided to call upon the powers of darkness. But for someone like me to use these powers, I must have a<font color="LEVEL"> Stone of Contract</font>. Will you bring one to me?<br>
<a action="bypass -h Quest 353_PowerOfDarkness 31044-04.htm">"I will help you." </a>
</body></html>
\ No newline at end of file
<html><body>Trader Galman:<br>
Wonderful! You can get the stone from the<font color="LEVEL"> Malruk Succubus and Malruk Succubus Turens</font> that have been attacking those who pass by Dragon Valley. They belong to the race of darkness, and so they are not at all easy to deal with... Be very careful...<br>
I will reward you handsomely for your efforts.
</body></html>
\ No newline at end of file
<html><body>Trader Galman:<br>
Are you still here? You haven't found the stone? I'll tell you again. The Stone of Contract is kept by<font color="LEVEL"> Malruk Succubi and Malruk Succubus Turens</font>. Please, bring me a Stone of Contract...<br>
You're not going to quit on me, are you?<br>
<a action="bypass -h Quest 353_PowerOfDarkness 31044-08.htm">"I want to quit."</a><br>
<a action="bypass -h Quest 353_PowerOfDarkness 31044-07.htm">"I'll bring you a Stone of Contract."</a>
</body></html>
\ No newline at end of file
<html><body>Trader Galman:<br>
Ah, the stones of Contract! Let me have them!<br>
They look good enough for me.<br>
Thank you for doing this for me. Here is the reward I promised. Please take it...<br>
By the way, I still need more stones. Could you bring me more? I understand if you don't want to...<br>
<a action="bypass -h Quest 353_PowerOfDarkness 31044-07.htm">"I will collect more stones for you."</a><br>
<a action="bypass -h Quest 353_PowerOfDarkness 31044-08.htm">"I want to quit. It's far too dangerous."</a>
</body></html>
\ No newline at end of file
<html><body>Trader Galman:<br>
Thank you! I'll never forget this. I'm so happy to think that soon I will see her smiling face again...<br>
Are you still here? Bring me the Stones of Contract. You can get them from<font color="LEVEL"> Malruk Succubus and Malruk Succubus Turens</font>.
</body></html>
\ No newline at end of file
<html><body>Trader Galman:<br>
If that's what you want, I won't try to stop you...<br>
Well, what are you still doing here?
</body></html>
\ No newline at end of file
# Power of Darkness - Version 0.1 by DrLecter
import sys
from com.l2jserver.gameserver.model.quest import State
from com.l2jserver.gameserver.model.quest import QuestState
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
qn = "353_PowerOfDarkness"
#NPC
GALMAN=31044
#Items
STONE=5862
ADENA=57
#BASE CHANCE FOR DROP
CHANCE = 50
class Quest (JQuest) :
def __init__(self,id,name,descr):
JQuest.__init__(self,id,name,descr)
self.questItemIds = [STONE]
def onEvent (self,event,st) :
htmltext = event
cond = st.getInt("cond")
if event == "31044-04.htm" and cond == 0 :
st.set("cond","1")
st.setState(State.STARTED)
st.playSound("ItemSound.quest_accept")
elif event == "31044-08.htm" :
st.exitQuest(1)
st.playSound("ItemSound.quest_finish")
return htmltext
def onTalk (self,npc,player):
htmltext = Quest.getNoQuestMsg(player)
st = player.getQuestState(qn)
if not st : return htmltext
npcId = npc.getNpcId()
id = st.getState()
cond=st.getInt("cond")
if cond == 0 :
if player.getLevel() >= 55 :
htmltext = "31044-02.htm"
else:
htmltext = "31044-01.htm"
st.exitQuest(1)
else :
stone=st.getQuestItemsCount(STONE)
if not stone :
htmltext = "31044-05.htm"
else :
st.giveItems(ADENA,2500+230*stone)
st.takeItems(STONE,-1)
htmltext = "31044-06.htm"
return htmltext
def onKill(self,npc,player,isPet):
st = player.getQuestState(qn)
if not st : return
if st.getState() != State.STARTED : return
if self.getRandom(100) < CHANCE :
st.giveItems(STONE,1)
st.playSound("ItemSound.quest_itemget")
return
QUEST = Quest(353,qn,"Power of Darkness")
QUEST.addStartNpc(GALMAN)
QUEST.addTalkId(GALMAN)
for mob in [20284,20245,20244,20283] :
QUEST.addKillId(mob)
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
Some nightmarish images are tormenting me while i'm asleep, yes. Many days have passed and these mysterious dreams seem to have no end. If i could gather the elements needed to perform a ritual, with no doubt i would be able to understand what future is trying to tell me in that disturbing way.<br><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 30515-4.htm">"I can help you with those elements"</a><br><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 30515-5.htm">"Forget it, dreams are just that"</a>
</body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
You are still here? As i said,<font color="LEVEL"> Torai</font> is the only one that could help us finding out what is that stone.<br>
Meet him entering<font color="LEVEL"> Death Pass</font> from Giran.
</body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
Thank you so much! You took off a burden both from my mind and from my bag.
</body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
I think it is too early for you to help me. Come back after you have gained some more experience.<br>
<font color="LEVEL">(Quest for characters level 56 and above.)</font></body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
Ah! you are the one that brought my teeths and light, i remember you. Maybe you are in need of some weird textures and want to buy some?<br><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 buy">"Yes, I need some textures"</a><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 30515-8.htm">"I forgot to tell you about this weird stone"</a><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 30515-5.htm">"No, I just came to quit"</a>
</body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
So you are back. What brought you here now?<br><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 30515-6.htm">"I brought the elements you requested"</a><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 30515-8.htm">"I found a weird stone, do you know what is it?"</a><br>
<a action="bypass -h Quest 374_WhisperOfDreams1 30515-5.htm">"I want to quit"</a>
</body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
Easy task for you then. Just bring me<font color="LEVEL"> Cave Beast Tooth</font> and<font color="LEVEL"> Death Wave Light</font>, i need<font color="LEVEL"> 65 of each</font>.<br>
No need to say where to gather these things, isn't? Any adventurer as experienced as you have traveled near the<font color="LEVEL"> Entrance of Antharas Lair</font>, and saw Cave Beasts and Death Waves all around the way...
</body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
Of course you won't ever believe in dreams! The ones of your kind just believe in what they see. All of you are prisoners of a material world!</body></html>
\ No newline at end of file
<html><body>Seer Manakia:<br><br>
Sorry, but this is not enough to proceed with my ceremony. Please bring me<font color="LEVEL"> 65 Cave Beast Molars</font> and<font color="LEVEL"> 65 Death Wave Lights</font>.<br>
Cave Beasts and Death Waves inhabit the entrance of the Antharas' Lair.
</body></html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment