代码来源于“易宁”大佬的分享,仅供学习,不要直接复制粘贴。

原帖链接:http://bbs.3dmgame.com/thread-3859071-1-1.html



一四0.切斯特(狗箱)跑得快

	用MT管理器打开游戏目录/assets/scripts/prefabs/chester.lua文件,将下列内容:

	inst.components.locomotor.walkspeed = 3
	inst.components.locomotor.runspeed = 7

	替换为:

	inst.components.locomotor.walkspeed = 9
	inst.components.locomotor.runspeed = 21

	即可让切斯特运动速度提高3