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

《饥荒》这款生存游戏,很多玩家都想觉得游戏有些难,就想修改一些内容,比如解锁全人物,主角自动回血,主角不会饿之类的,下面小编为大家奉上最全的修改教程,内容简单易懂,希望各位玩家喜欢。目录

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

游民星空 - 查攻略必备

下载游民App,免费领取游戏大作

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

互联网 易宁 2015-01-21 11:28
0

一六六.魔之双臂(狼牙棒左键抓来敌人并致死、右键抓地移动主角)

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

  inst:AddComponent("weapon")

  inst.components.weapon:SetDamage(TUNING.SPIKE_DAMAGE)

  -------

  inst:AddComponent("finiteuses")

  inst.components.finiteuses:SetMaxUses(TUNING.SPIKE_USES)

  inst.components.finiteuses:SetUses(TUNING.SPIKE_USES)

  inst.components.finiteuses:SetOnFinished( onfinished )

  替换为:

  local function onattack(inst, owner, target)

  local pt = owner:GetPosition()

  if target.components.health then

  target.Transform:SetPosition(pt.x+1, pt.y, pt.z)

  end

  inst:DoTaskInTime(0.1, function()

  target.components.health:DoDelta(-3000)

  end)

  end

  inst:AddComponent("weapon")

  inst.components.weapon:SetDamage(0)

  inst.components.weapon:SetRange(20, 25)

  inst.components.weapon:SetOnAttack(onattack)

  inst.components.weapon:SetProjectile("bishop_charge")

  inst:AddComponent("blinkstaff")

  即可在装备狼牙棒时,对敌人点左键将其抓过来并致死;对空地点右键,抓地移动主角,使狼牙棒既可杀伤敌人,又可有效闪避。用来抓鸟、兔、火鸡、大象等会逃跑的动物也很实用哦。狼牙棒靠打沼泽里的触手获得

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

责任编辑:Shy夏夏

本文对您是否有帮助

相关推荐

APP精彩推荐打开游民APP查看更多

在线玩推荐更多