code.py

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

PY
17
字号
def Run(this,CmdNPC):           
           if this._NPCcontrol==0:
                  if this._client.Char.Level<70:
                         CmdNPC.Face(15);
                         CmdNPC.Say("This is the way to Deserty City. The monsters there are");
                         CmdNPC.Say("much stronger than you. Are you sure you want to go there?");
                         CmdNPC.Link("No, I shall not go.", 255);
                         CmdNPC.Link("Please teleport me there.", 1);
                         CmdNPC.Finish();
                  elif this._client.Char.Level>69:
                         CmdNPC.Say("This is the way to Deserty City. Although you are");
                         CmdNPC.Say("excellent, it is dangerous to go ahead");
                         CmdNPC.Link("I see.", 1);
                         CmdNPC.Finish();
           elif this._NPCcontrol==1:
                  this.SendCharacterInfo(this._client.Char);
                  this.SpawnCharacter(this._client,217,215,1000);

⌨️ 快捷键说明

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