初级玩家

- 贡献度
- 0
- 金元
- 906
- 积分
- 91
- 精华
- 0
- 注册时间
- 2014-3-9
|
454506862 发表于 2014-4-16 20:12 
瑞士手杖我不想要防雨、挖草、两倍速度怎么办?
3.在anim layAnimation("idle")的下一行插入以下内容:
inst:AddComponent("tool")
inst.components.tool:SetAction(ACTIONS.CHOP, 15)
inst.components.tool:SetAction(ACTIONS.MINE, 15)
inst.components.tool:SetAction(ACTIONS.HAMMER,15)
inst.components.tool:SetAction(ACTIONS.DIG)
inst:AddComponent("waterproofer")
inst.components.waterproofer:SetEffectiveness(TUNING.WATERPROOFNESS_ABSOLUTE)
inst:AddComponent("blinkstaff")
local light = inst.entity:AddLight()
light:SetFalloff(0.4)
light:SetIntensity(.7)
light:SetRadius(2.5)
light:SetColour(180/255, 195/255, 150/255)
light:Enable(true)
这一段去掉 inst.components.tool:SetAction(ACTIONS.DIG)
不修改 5.将inst.components.equippable.walkspeedmult = TUNING.CANE_SPEED_MULT替换为以下内容:
inst.components.equippable.walkspeedmult = TUNING.CANE_SPEED_MULT*2
inst.components.equippable.dapperness = TUNING.DAPPERNESS_HUGE
即可没有铲子 两倍速度功能 |
|