--**********************
--事件列表选中一项
--**********************
function x002093_OnEventRequest( sceneId, selfId, targetId, eventId )
if GetNumText() == 101 then
local index = GetMissonFlag( sceneId, selfId,MF_LINGQUZENGDIAN)
if index == 1 then
x002093_g_TalkMsg( sceneId, selfId, targetId,"您已经领取该项奖励,不能再领取.")
return
end
ZengDian(SceneId,selfId,targetId,1,10000)
function x002093_OnEventRequest( sceneId, selfId, targetId, eventId )
local mylevel = GetLevel(sceneId, selfId, targetId, eventId)
if mylevel < GetNumText() then
local str Text = format("您的等级不够,待等级达到%d再来找我吧",GetNumText())
X002093,TalkMsg(sceneId, selfId, targetId,str Text)
return
end
if GetNumText()==80 then
local index = GetMissionFlag(sceneId, selfId, MF_LINGQUYUANBAO80)
if index == 1 then
x002093_TalkMsg(sceneId, selfId, targetId,"您已经领取过该奖励,不能再领取了")
return
end
SetMissionFlag((sceneId,selfId,targetId,"领取元宝成功,您获得了70000元宝和赠点,谢谢你对[我爱天龙]的支持")
elseif GetNum Text() == 90 then
local index = GetMissionFlag(sceneId,selfId,MF_LINGQUYUANBAO90)
if index == 1 then
x002093_TalkMsg(sceneId,selfId,targetId,"您已经领取过该项奖励,不能再领取了")
return
end
YuanBao(sceneId,selfId,targetId,1,150000)
ZengDian(sceneId,selfId,targetId,1,150000)
SetMissionFlag((sceneId,selfId,MF_LINGQUYUANBAO90,1)
x002093_TalkMsg(sceneId,selfId,targetId,"领取元宝成功,您获得了150000元宝和150000赠点,感谢您对[我爱天龙]的支持")