地下城 秘籍

时间:2011/04/15 10:42:16 编辑:Ocean

用写字板等软件编辑游戏安装目录下的Config.cfg文件

如果以下代码不存在,则添加如下代码

Development.Enabled = true

而后,请在游戏的安装目录下的Data文件夹下的init.py文件中,加入如下语句:

def CG(gold = 1000000):
   Send(CheatMessage("c_SetGold("+str(gold)+")", Vector3.ZERO, 0))

def CSE(se = 1000000):
   Send(CheatMessage("c_SetSoulEnergy("+str(se)+")", Vector3.ZERO, 0))

def CP(p = 1000000):
   Send(CheatMessage("c_SetPrestige("+str(p)+")", Vector3.ZERO, 0))

def CSP(sp = 300):
   Send(CheatMessage("c_SetSkillPoints("+str(sp)+")", Vector3.ZERO, 0))

def CAP(ap = 1000):
   Send(CheatMessage("c_SetAttributePoints("+str(ap)+")", Vector3.ZERO, 0))


之后在游戏中,键入con!,而后按F1,短暂的暂停后便会打开基于Python语言的嵌入开发控制

输入如下代码便可以得到相应效果:

CG() - 1000000 gold (金币)
CSE() - 1000000 soul energy (灵魂能量)
CP() - 1000000 prestige (荣耀值,造地下城装饰物得到的值)
CSP() - 300 skill points (技能值)
CAP() - 1000 attribute points (属性值)

相关攻略
相关游戏