When the player goes to the teachers learn skills, after they go to special NPC to take P skills, but that doesn't work, doesn't give P skills or another level skill. But when I'm go with a GM char that NPC give me the P skills!
Code:
I've been put the files in: /usr/rain/channel/share_data/locale/hongkong/quest/object/20023/chatQuote:
say_title ( "Professor de Skills:" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "" )
say ( "" )
say ( "" )
say_reward ( "text" )
say_reward ( "text" )
local opzioni = select ( "Sim" , "Nao" )
if opzioni == 1 then
if pc . level >= 5 then
if pc . gold >= 1000000 then
command("setsk 1 59")
command("setsk 2 59")
command("setsk 3 59")
command("setsk 4 59")
command("setsk 5 59")
command("setsk 16 59")
command("setsk 17 59")
command("setsk 18 59")
command("setsk 19 59")
command("setsk 20 59")
command("setsk 131 10")
pc . changegold ( - 1000000 )
setskin ( NOWINDOW )
end
else
say ( "text" )
say ( "text" )
say ( "text" )
say ( "text" )
say ( "" )
say ( "" )
end
elseif opzioni == 2 then
say ( "text")
say ( "" )
say ( "" )
say ( "" )
say ( "" )
say_reward ( "text" )
say ( "" )
end
Please help me :S
(sorry for my English, but I'm Portuguese)






