giveitem失效
这里有效function login(actor)
local level = getbaseinfo(actor, ConstCfg.gbase.level)
setplaydef(actor, VarCfg.N_cur_level, level)
--个人变量声明
GameEvent.push(EventCfg.goPlayerVar, actor)
--第一次登录
local isnewhuman = getbaseinfo(actor, ConstCfg.gbase.isnewhuman)
if isnewhuman then
giveitem(actor,"井中月",1,0,"任务领取")
这里无效
function Task.RequestTalkFinish(actor, idx)
release_print(11111)
giveitem(actor,"井中月",1,0,"任务领取")
end
Message.RegisterNetMsg(ssrNetMsgCfg.Task, Task)
return Task
建议在LUA版块提问
页:
[1]