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

📄 code.py

📁 架设关键部分开始了。点击开始——程序
💻 PY
字号:
def Run(this,CmdNPC):
           if this._NPCcontrol==0:
                  CmdNPC.Face(20);
                  if this._char.Quests.Contains("15140")==False:
                         CmdNPC.Say("Hi There would you like to start my Noobie's Quest?");
                         CmdNPC.Link("ok.", 1);
                         CmdNPC.Link("Some other time.", 255);
                  else:
                         CmdNPC.Say("Hi there great warrior!");
                         CmdNPC.Link("Hello.", 255);
                  CmdNPC.Finish();
           elif this._NPCcontrol==1:
                  CmdNPC.Face(20);
                  CmdNPC.Say("I see your Level " + _char.Level + ".");
                  CmdNPC.Say("You are really starting to advance, would you like to do my quest i will reward you very good?");
                  CmdNPC.Link("Yes Please.", 2);
                  CmdNPC.Link("Some other time.", 255);
                  CmdNPC.Finish();
           elif this._NPCcontrol==2:
                  CmdNPC.Face(20);
                  CmdNPC.Say("Great, Can you please go and find me 20 PK Tickets from killing Pheasents.");
                  CmdNPC.Say("Once you have collected them, coming back to me for a great reward.");
                  CmdNPC.Link("ok.", 255);
                  CmdNPC.Finish();

⌨️ 快捷键说明

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