📄 code.py
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -