code.py
来自「架设关键部分开始了。点击开始——程序」· Python 代码 · 共 30 行
PY
30 行
def Run(this,CmdNPC):
if this._NPCcontrol==0:
CmdNPC.Face(5);
CmdNPC.Say("At Level 15 you can get Promoted to Trojan, at Level 40 to VeteranTrojan, at Level 70 to TigerTrojan, at Level 100 to DragonTrojan and at Level 110 to TrojanMaster");
CmdNPC.Link("I wanna get promoted", 2);
CmdNPC.Link("I Wanna learn Skills", 255);
CmdNPC.Link("Nothing, thanks.", 255);
CmdNPC.Finish();
if this._NPCcontrol==2:
if this._client.Char.Level>15:
this.SetCharClass(this._client,"Trojan");
if this._client.Char.Level>40:
this.SetCharClass(this._client,"VeteranTrojan");
if this._client.Char.Level>70:
this.SetCharClass(this._client,"TigerTrojan");
if this._client.Char.Level>100:
this.SetCharClass(this._client,"DragonTrojan");
if this._client.Char.Level>110:
this.SetCharClass(this._client,"TrojanMaster");
else:
this.SendMess("Youre not at the needed Level for next Promotion!",6);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?