Hi all. The problem such each of races can grasp posts and GK should display and move on those posts which are grasped by the given race. I could implement only display at attempt to be moved nothing happens.
# Created by Ham Wong on 2007.02.28
import sys
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance
from com.l2jfrozen.gameserver.model.quest import State
from com.l2jfrozen.gameserver.model.quest import QuestState
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest
qn = "10001_RaceTeleport"
#print "10001. Race Teleport"
NPC=[30006,30059,30080,30134,30146,30177,30233,30256,30320,30540,30576,30836,30848,30878,30899,31275,31320,31964]
class Quest (JQuest) :
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
def onTalk (Self,npc,player):
st = player.getQuestState(qn)
if player.isNoble() == 1 :
htmltext=player.getPost()
else :
htmltext=player.getPost()
st.exitQuest(1)
return htmltext
QUEST = Quest(10001, qn, "Teleports")
CREATED = State('Start', QUEST)
QUEST.setInitialState(CREATED)
for item in NPC:
QUEST.addStartNpc(item)
QUEST.addTalkId(item)
From a core
L2PcInstance:
public String getPost(){
return OutpostManager.getOutpostRace(getRaceINT());
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
iDSL
Hi all. The problem such each of races can grasp posts and GK should display and move on those posts which are grasped by the given race. I could implement only display at attempt to be moved nothing happens.
http://s019.radikal.ru/i612/1203/96/57c980c37841.bmp
Quest GK
From a core
L2PcInstance:
OutpostManager:
Assembly L2jFrozen in the table teleport is added point ТП from Ides 80000.
If the information is required still I will give.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.