Hai
how to make a teleporter with 10 festival adena for teleport
How to add price teleport with 10 Festival Adena
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 175
- Joined: Thu Dec 17, 2009 7:20 am
-
- Posts: 255
- Joined: Wed Jan 20, 2010 9:06 pm
Re: How to add price teleport with 10 Festival Adena
i think only with script... like this
Code: Select all
import sysfrom net.sf.l2j.gameserver.model.quest import Statefrom net.sf.l2j.gameserver.model.quest import QuestStatefrom net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "7783_TP" NPC = 13001col = 3865prise = 1X_ID=178847Y_ID=114894Z_ID=-7707class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onTalk (self,npc,player): htmltext = " " st = player.getQuestState(qn) if not st : return htmltext npcId = npc.getNpcId() if npcId == NPC : if st.getQuestItemsCount(col) < prise : htmltext = "<html> Where is FA? </html>" else: st.takeItems(col,prise) st.getPlayer().teleToLocation(X_ID,Y_ID,Z_ID) htmltext = "Teleported" return htmltext QUEST = Quest(7783,qn,"Custom")CREATED = State('Start', QUEST) QUEST.setInitialState(CREATED) QUEST.addStartNpc(NPC)QUEST.addTalkId(NPC)
-
- Posts: 175
- Joined: Thu Dec 17, 2009 7:20 am
Re: How to add price teleport with 10 Festival Adena
thanks
i will explore this
i will explore this
