最新最全最权威的各类手游,端游,页游游戏信息开服信息,尽在游民之家. 订阅微信

烈焰的魔龙大殿NPC传送脚本

发表时间:2015-03-31 13:30点击人气:责任编辑:admin
脚本代码

function ontalk3002(npc,event,player)
 player:echo(0,npc:GetLowGUID(),[[
#&talk_line#&
魔龙大殿乃极度危险之地.不是随便什么人都可以降服的.
你可要小心前往


危险星数:★★★★★★★★★★


注:VIP9以上才可进入


#&talk_line#&
                       <u><a href='event:M2402,430'>进入魔龙大殿</a></u>
#&talk_line#& 
   热血烈海 倾力打造 QQ:97078681
]]);
end


function ontalk3002_430(npc,player)
 if player:get_player_type() >= 9 then
  player:enter_map(430,26,35);
   g_alert("玩家[<font color='#FF0000'>"..player:GetName().."</font>]V"..player:get_player_type().."过魔龙领域传送员进入【魔龙大殿】",2,1000,0,1);
 else
  player:alert(10,1000,1,"您的VIP等级不足9级,无法传送【魔龙大殿】");
 end
end

 

Npc3002Funid =
{
[430] = ontalk3002_430;
}

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

RegisterUnitEvent(3002,20,"ontalk3002")
RegisterUnitEvent(3002,29,"funid")