之前玩的法华林的mod攻击速度很快 想自己改一下其他人物的攻击速度 但是不会改
local master_postinit = function(inst)
-- choose which sounds this character will
play
inst.soundsname = "wolfgang"
-- Stats
inst.components.health:SetMaxHealth(200)
inst.components.hunger:SetMax(150)
inst.components.sanity:SetMax(175)
inst.components.locomotor.walkspeed =
(TUNING.WILSON_WALK_SPEED* 2.5)
inst.components.locomotor.runspeed =
(TUNING.WILSON_RUN_SPEED* 2.5)
inst.components.sanity.night_drain_mult = 0.1
inst.components.combat.attackrange = 2
inst.components.combat.hitrange = 3
inst.components.combat.min_attack_period =
0.1
end
求会修改的帮忙看一下哪里不对 谢谢啦!
local master_postinit = function(inst)
-- choose which sounds this character will
play
inst.soundsname = "wolfgang"
-- Stats
inst.components.health:SetMaxHealth(200)
inst.components.hunger:SetMax(150)
inst.components.sanity:SetMax(175)
inst.components.locomotor.walkspeed =
(TUNING.WILSON_WALK_SPEED* 2.5)
inst.components.locomotor.runspeed =
(TUNING.WILSON_RUN_SPEED* 2.5)
inst.components.sanity.night_drain_mult = 0.1
inst.components.combat.attackrange = 2
inst.components.combat.hitrange = 3
inst.components.combat.min_attack_period =
0.1
end
求会修改的帮忙看一下哪里不对 谢谢啦!
