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

📄 spacemark.lua

📁 架设关键部分开始了。点击开始——程序
💻 LUA
字号:
if NPCcon== 0 then
   if API:SelectUserClass(client)<=135 and API:SelectUserClass(client)>=132 then
      CmdNPC:Face(44);
      CmdNPC:Say("我可以卖给你御风符,你用他可以飞到平原,每张100元");                    -- en "I can create a Wind spell that you can use to be teleported back to this point. They cost 100 silver."
      CmdNPC:link("我要来一张",1);                                -- en "Please create one for me."
      CmdNPC:Link("我不需要",255);                                -- en "Just passing by."
      CmdNPC:Finish();
   else
      CmdNPC:Face(44);
      CmdNPC:Say("我不能帮助你");                                   -- en "Sorry, but you are not a Water Taoist. I can not help you."
      CmdNPC:Link("哦,知道了",255);                               -- en "ok"
      CmdNPC:Finish();
   end;   

end;



if NPCcon== 1 then
   if Char.Money>99 then
       Char.Money= Char.Money-100;
       API:UpdateMoney(client);
       API:Additems(client,1060034);  
   else
       CmdNPC:Face(44);
       CmdNPC:Say("对不起你钱不够100元");
       CmdNPC:Link("我知道了",255);
       CmdNPC:Finish();
   end;
end;

⌨️ 快捷键说明

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