游民星空 > 攻略秘籍 > 攻略 > 正文

饥荒 全人物解锁及主角自动回血等实用修改教程

2015-01-21 11:28:46 来源:互联网 作者:易宁 我要投稿

第28页:麦斯威尔用魔法书召唤分身不减脑上限

展开

二十八.麦斯威尔用魔法书召唤分身不减脑上限

  1.用记事本打开游戏目录\data\scripts\prefabs\waxwelljournal.lua文件,将reader.components.sanity:RecalculatePenalty()替换为--reader.components.sanity:RecalculatePenalty()

  2.用记事本打开游戏目录\data\scripts\prefabs\shadowwaxwell.lua文件,将下列内容:

  inst:ListenForEvent("death", ondeath)

  inst:AddComponent("inventory")

  inst.components.inventory.dropondeath = false

  inst:AddComponent("sanityaura")

  inst.components.sanityaura.penalty = TUNING.SHADOWWAXWELL_SANITY_PENALTY

  替换为:

  --inst:ListenForEvent("death", ondeath)

  inst:AddComponent("inventory")

  inst.components.inventory.dropondeath = false

  --inst:AddComponent("sanityaura")

  --inst.components.sanityaura.penalty = TUNING.SHADOWWAXWELL_SANITY_PENALTY

  即可在麦斯威尔用魔法书召唤分身时不减脑上限

更多相关内容请关注:饥荒专区

责任编辑:Shy夏夏

上一页 21 22 23 24 25 26 27 28 29 30 31 下一页
友情提示:支持键盘左右键“← →”翻页

本文是否解决了您的问题

文章内容导航
游民星空APP
随手浏览游戏攻略
code
攻略合集
单机游戏下载
休闲娱乐
综合热点资讯
游民星空联运游戏