三.主角自动回血
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst.components.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下内容:
inst.components.health:StartRegen(30, 10)
即可让主角自动回血,其中30为血量,10为10秒回血一次,可自行调整
相关内容请关注:饥荒专区
三.主角自动回血
用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst.components.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下内容:
inst.components.health:StartRegen(30, 10)
即可让主角自动回血,其中30为血量,10为10秒回血一次,可自行调整
相关内容请关注:饥荒专区