boxer.lua

来自「架设关键部分开始了。点击开始——程序」· LUA 代码 · 共 32 行

LUA
32
字号
if NPCcon==0 then
    CmdNPC:Face(52);
    CmdNPC:Say("你想进入Boss之家吗,请你做好准备,里面有很多BOSS很危险的,里面BOSS一小时刷一次数量众多,如果需要进入,会员免费,其他人收1000天石");            -- en "If you are level 20 or above, you may train in the training"
    CmdNPC:Link("好的,我要花天石进入",1);
    CmdNPC:Link("我是会员,我要免费进入",2);                
    CmdNPC:Link("我不去了",255); 
    CmdNPC:Finish();
end;

if NPCcon==1 then
   if Char.Cp>999 then
      Char.LastMobID=1036;
      Char.Cp=Char.Cp-1000;
      API:UpdateCp(client);
      API:GotoMap(client,1039,217,217);
   else
      CmdNPC:Say("对不起你没有1000天石");             -- en "Sorry, you do not have 1000 silver."
      CmdNPC:Link("我看看",255);                     -- en I SEE
      CmdNPC:Finish();
   end;
end;

if NPCcon==2 then
  if API:GetUserVar(client,"#huyuan")==1 then
     Char.LastMobID=1036;
     API:GotoMap(client,1039,217,217);
  else
      CmdNPC:Say("你不是会员,请你办理后再来");             -- en "Sorry, you do not have 1000 silver."
      CmdNPC:Link("我看看",255);                     -- en I SEE
      CmdNPC:Finish();
  end;
end;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?