设为首页收藏本站 天气与日历

《地下城》秘籍

[复制链接]
查看32 | 回复0 | 2023-3-1 13:40:42 | 显示全部楼层 |阅读模式
用写字板等软件编辑游戏安装目录下的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 (属性值)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则