|
@@ -3,7 +3,6 @@ import sys
|
|
|
from net.sf.l2j.gameserver.model.quest import State
|
|
|
from net.sf.l2j.gameserver.model.quest import QuestState
|
|
|
from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest
|
|
|
-from net.sf.l2j.gameserver.serverpackets import MagicSkillUse
|
|
|
|
|
|
qn = "651_RunawayYouth"
|
|
|
#Npc
|
|
@@ -28,14 +27,10 @@ class Quest (JQuest) :
|
|
|
st.playSound("ItemSound.quest_accept")
|
|
|
st.takeItems(SOE,1)
|
|
|
htmltext = "32014-03.htm"
|
|
|
- npc.broadcastPacket(MagicSkillUse(npc,npc,2013,1,20000,0))
|
|
|
- st.startQuestTimer("ivan_timer",20000,npc)
|
|
|
+ npc.deleteMe()
|
|
|
elif event == "32014-04a.htm" :
|
|
|
st.exitQuest(1)
|
|
|
st.playSound("ItemSound.quest_giveup")
|
|
|
- elif event == "ivan_timer":
|
|
|
- npc.deleteMe()
|
|
|
- htmltext=None
|
|
|
return htmltext
|
|
|
|
|
|
def onTalk (self,npc,player):
|
|
@@ -58,10 +53,8 @@ class Quest (JQuest) :
|
|
|
st.exitQuest(1)
|
|
|
return htmltext
|
|
|
|
|
|
-
|
|
|
QUEST = Quest(651,qn,"Runaway Youth")
|
|
|
|
|
|
-
|
|
|
QUEST.addStartNpc(IVAN)
|
|
|
|
|
|
QUEST.addTalkId(IVAN)
|