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

📄 code.py

📁 征服服务端需要的东西!1、framework 2.0 2、PostgreSQL 8.2 3、征服服务端模拟器 4、征服最新客户端 5、征服1.6版补丁
💻 PY
字号:
def Run(this,CmdNPC):
    if this._NPCcontrol==0:
        CmdNPC.Say("If you are level 20 or above, you may train in the training");
        CmdNPC.Say("ground. Would you like me to teleport you there for 1000");
        CmdNPC.Say("silver.");
        CmdNPC.Link("Yes, please.", 1);
        CmdNPC.Link("No, thanks.", 255);
        CmdNPC.Finish();
    if this._NPCcontrol==1:
        CmdNPC.Say("In the training ground, you will not lose any HP or MP. And");
        CmdNPC.Say("no items nor durability will be consumed.");
        CmdNPC.Link("Please teleport me there.", 2);
        CmdNPC.Link("No, I changed my mind", 255);
        CmdNPC.Finish();
    if this._NPCcontrol==2:
        if this._client.Char.Money>999:
            Teleport_Gold=this._client.Char.Money-1000;
            this._client.Char.Money=int(Teleport_Gold);
            this.SendCharacterInfo(this._client.Char);
            this.SpawnCharacter(this._client,217,215,1039);
        elif this._client.Char.Money<1000:
            CmdNPC.Say("Sorry, you do not have 1000 silver.");
            CmdNPC.Link("I see.", 255);
            CmdNPC.Finish();
        

⌨️ 快捷键说明

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