⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 david.lua

📁 架设关键部分开始了。点击开始——程序
💻 LUA
字号:
if NPCcon==0 then
   CmdNPC:Face(37);
   CmdNPC:Say("我和我的兄弟都很喜欢参加PK比赛,因为参加PK比赛不但可以增长经验,而且还能增加技能的领悟");                      -- en "My five brothers and I guard the aena in turn.We take pleasure in watching the PK Tournament and improving our skills."
   CmdNPC:Link("这很正确",1);                    -- en "That is great!"
   CmdNPC:Link("关我屁事",255);                  -- en "Just passing by."
   CmdNPC:Finish();
end;

if NPCcon==1 then
   CmdNPC:Face(37);
   CmdNPC:Say("我兄弟和我非常希望去,可是我们缺少 参赛令 你可以帮助我吗?");                                                 -- en "My brothers and I want to watch the PK Tournament. But we are too busy to get some tickets from pheasants. Can you help us?"
   CmdNPC:Link("我要怎么帮助你?",2);                -- en "Sure."
   CmdNPC:Link("对不起我还有事",255);                    -- en "Sorry. I am too busy."
   CmdNPC:Finish();
end;
   

if NPCcon==2 then
   CmdNPC:Face(37);
   CmdNPC:Say("谢谢你,如果你给我6个参赛令,我将给你 6000个金币,参赛令在雏鸡那获得");                                   -- en "Thanks a lot. If you give me 6 tickets, I shall pay you 6000 silvers. Are you ready to give your tickets to me?"
   CmdNPC:Link("是的我有哦,刚好打到了",3);                              -- en "Yeah, here you are."
   CmdNPC:Link("不好意识我没有哦,我现在就去打",255);                        -- en "Sorry, I need them too."
   CmdNPC:Finish();
end;


if NPCcon==3 then
   if API:RemoveItem_ID(client,710001,6) then
      Char.Money=Char.Money+6000;
      API:UpdateMoney(client);
      CmdNPC:Face(37);
      CmdNPC:Say("如果你还有的话,我还会要的,6000已经给你了");                -- en "Then I will take away your six tickets and pay you 6000 silver."
      CmdNPC:Link("谢了",255);                                                -- en "Thanks."
      CmdNPC:Finish();
   else
      CmdNPC:Face(37);
      CmdNPC:Say("对不起,你没有6个参赛令哦");                                     -- "Sorry, you do not have 6 tickets."
      CmdNPC:Link("我看看",255);                                                   -- "I see."
      CmdNPC:Finish();
   end;

end;
   

⌨️ 快捷键说明

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