烈焰私服可用充值返利使者脚本

发布时间:2021-10-19 17:05:00 点击:
咪乐|直播|app|平台苹果版 自1995至2013年,在海外创办产业园区上百个,形成第一波浪潮,主要是作为企业对外投资、开拓国际市场的“前进基地”,同时带动国内企业“走出去”、参与国际竞争。

 代码内的player:get_param(333) 为玩家每日的充值元宝数量.player:get_param(220) 为自定义的领取标识.

player:add_item类的道具,可以根据自己的需求进行调整和修改.




function ontalk2046(npc,event,player)
    
    player:echo(0,npc:GetLowGUID(),[[
每日首充均可领取以下奖励  充值比例 1:20000
您今日已充值:]]..player:get_param(333)..[[.
充值10W元宝:[烈焰神剑武器]
#&talk_line#&
充值100W元宝:[锻造石x1]+[宝箱x2]
#&talk_line#&
充值200W元宝:
[锻造石x3]+[13/14/15注灵x2]+[宝箱x5]
#&talk_line#&
充值300W元宝: 
[锻造石x6]+[13/14/15注灵x3]+[宝箱x8]
#&talk_line#&
充值500W元宝:
锻造石x10+ 13/14/15注灵x5+ 宝箱x12+ 金色诱惑x4
#&talk_line#&
充值1000W元宝:[锻造石x25]
#&talk_line#&
以上道具可叠加领取,领取前请确认背包是否够

                           我要领取
]]);
end

function onTalk2046_1(npc,event,player)
if player:get_param(333)>100000 and player:get_param(220)==0 and player:num_bag_black() >= 1 then
player:add_item(20900,1,0);
player:set_param(220,1);
g_alert("玩家["..player:GetName().."]在返利使者处领取返利奖励",2,1000,0,1);
elseif player:get_param(333)>1000000 and player:get_param(220)==1 and player:num_bag_black() >= 3 then
player:add_item(18100,1,0);    
player:add_item(19020,2,0);
player:set_param(220,2);
g_alert("玩家["..player:GetName().."]在返利使者处领取返利奖励",2,1000,0,1);
elseif player:get_param(333)>2000000 and player:get_param(220)==2 and player:num_bag_black() >= 14 then
player:add_item(18100,3,0);    
player:add_item(19020,5,0);
player:add_item(10222,2,0);    
player:add_item(10223,2,0);
player:add_item(10224,2,0);
player:set_param(220,3);
g_alert("玩家["..player:GetName().."]在返利使者处领取返利奖励",2,1000,0,1);
elseif player:get_param(333)>3000000 and player:get_param(220)==3 and player:num_bag_black() >= 23 then
player:add_item(18100,6,0);    
player:add_item(19020,8,0);
player:add_item(10222,3,0);    
player:add_item(10223,3,0);
player:add_item(10224,3,0);
player:set_param(220,4);
g_alert("玩家["..player:GetName().."]在返利使者处领取返利奖励",2,1000,0,1);
elseif player:get_param(333)>5000000 and player:get_param(220)==4 and player:num_bag_black() >= 46 then
player:add_item(18100,10,0);    
player:add_item(19020,12,0);
player:add_item(10222,5,0);    
player:add_item(10223,5,0);
player:add_item(10224,5,0);
player:add_item(10224,5,0);
player:add_item(10196,4,0);
player:set_param(220,5);
g_alert("玩家["..player:GetName().."]在返利使者处领取返利奖励",2,1000,0,1);
elseif player:get_param(333)>10000000 and player:get_param(220)==5 and player:num_bag_black() >= 25 then
player:add_item(18100,25,0);
player:set_param(220,6);
g_alert("玩家["..player:GetName().."]在返利使者处领取返利奖励",2,1000,0,1);
elseif player:get_param(220)==6 then
            player:alert(10,0,0,"您已领取完所有返利奖励");
else
player:alert(10,0,0,"未满足条件或背包剩余格数不足,无法领取");
        end            
    ontalk2046(npc,0,player,0);
end


Npc2046Funid = 
{
[0] = ontalk2046;
[1] = onTalk2046_1;
}

function CreatureNpcFun(npc,event,player,funid)
    if Npc2046Funid[funid] ~= nil then
        Npc2046Funid[funid](npc,event,player);
    end
end

RegisterUnitEvent(2046,20,"ontalk2046")
RegisterUnitEvent(2046,29,"CreatureNpcFun")



进入烈焰私服可用充值返... 游戏客服交谈
免责声明:168搜服网所有内容来自互联网,版权归作者所有,如无意中侵犯了您的权益,请来信告之,本网站将在规定时间内给予删除.168搜服为玩家提供最新页游SF.贵在创新.贵在坚持.贵在勤奋.本站坚持更新页游私服的收录以及新开页游的创新.才能得到更多页游私服玩家的认可和用户.特别鸣谢:百度引擎 Copyright 2013-2019 YxSf.J8WaN.Com All Rights Reserved


投诉邮箱:2634739469@qq.com
百度