《地下城》秘籍代码

2011-02-10 10:47:54

用写字板等软件编辑游戏安装目录下的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 (属性值)

目录 1/1 返回攻略专辑
地下城
地下城
平台:PC
0%的玩家推荐
分享到:

APP精彩推荐

下载APP可查看更多精品攻略